[cairo] patch for VxWorks / Wind River Diab Compiler support
Manfred Kogler
manfred.kogler at gmail.com
Wed Feb 19 18:27:13 CET 2014
Hi Bill,
ad (4)
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.
Best regards,
Fred
On Tue, Feb 18, 2014 at 5:53 PM, Bill Spitzak <spitzak at gmail.com> wrote:
> On 02/18/2014 06:51 AM, Manfred Kogler wrote:
>
>> (4) error: array declarations of len 0 are not allowed -> replaced with
>> pointer to array-elem
>> see file cairo-image-compositor.c:
>> uint8_t _buf[0];
>> ->
>> uint8_t *_buf;
>>
>
> That certainly will not work. Using [1] is common but requires fixing all
> the uses of sizeof().
>
>
> --
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20140219/118b5461/attachment.html>
More information about the cairo
mailing list