On Mon, Apr 9, 2018 at 3:31 PM, Khem Raj <raj.k...@gmail.com> wrote:
> On 4/9/18 3:23 PM, Andre McCurdy wrote:
>> On Sun, Apr 8, 2018 at 5:52 PM, Khem Raj <raj.k...@gmail.com> wrote:
>>> On Sun, Apr 8, 2018 at 10:00 AM Martin Jansa <martin.ja...@gmail.com> wrote:
>>>
>>>> On Ubuntu 14.04 this fails with:
>>>>
>>>> ../git/gen-des-tables.c: In function ‘write_table_u8’:
>>>> ../git/gen-des-tables.c:307:3: error: ‘for’ loop initial declarations are
>>>> only allowed in C99 mode
>>>>    for (size_t i = 0; i < m; i++)
>>>>    ^
>>>
>>> You can patch this to move declaration just above loop if that helps we
>>> should apply such a patch for compatibility sake but I wonder if there are
>>> more c99 assumptions at work here
>>
>> It looks like the upstream intention is to be buildable with c99 + GNU
>> extensions, so explicitly setting -std=gnu99 seems reasonable.
>
> see this statement worries me from same document you quote below.
>
> A few C2011 features are used; the intention is not to use any of them
> without a fallback, but we do not currently test this.

If you don't trust the untested fallbacks, then how about explicitly
setting -std=gnu11 ?
-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to