<div dir="ltr"><div><div><div>Hi Bill,<br><br></div>ad 
(4)<br><br></div>Actually, we've used that approach since more than a year and didn't run into a problem. However, I just retested and it seems due to a Diab compiler update this compile error is gone, so it is not an issue anymore for us which declaration is used. Besides, _buf is used only locally and not extensively, there is no sizeof() operator used on it.<br>
<br></div>Best regards,<br>Fred<br><div><div><div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 18, 2014 at 5:53 PM, Bill Spitzak <span dir="ltr"><<a href="mailto:spitzak@gmail.com" target="_blank">spitzak@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">On 02/18/2014 06:51 AM, Manfred Kogler wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
(4) error: array declarations of len 0 are not allowed -> replaced with<br>
pointer to array-elem<br>
     see file cairo-image-compositor.c:<br>
         uint8_t _buf[0];<br>
             -><br>
         uint8_t *_buf;<br>
</blockquote>
<br></div>
That certainly will not work. Using [1] is common but requires fixing all the uses of sizeof().<span class=""><font color="#888888"><br>
<br>
<br>
-- <br>
cairo mailing list<br>
<a href="mailto:cairo@cairographics.org" target="_blank">cairo@cairographics.org</a><br>
<a href="http://lists.cairographics.org/mailman/listinfo/cairo" target="_blank">http://lists.cairographics.<u></u>org/mailman/listinfo/cairo</a><br>
</font></span></blockquote></div><br></div></div></div></div></div></div></div>