[OE-core] [PATCH 7/7] libtasn1: upgrade 4.14 -> 4.15.0

Mittal, Anuj anuj.mittal at intel.com
Thu Dec 19 06:09:40 UTC 2019


On Thu, 2019-12-19 at 08:01 +0200, Adrian Bunk wrote:
> On Thu, Dec 19, 2019 at 01:41:08PM +0800, Anuj Mittal wrote:
> > Remove backported patches and explicitly pass -std=gnu99 to native
> > CFLAGS
> > to make sure build passes on older and still supported OSes like
> > CentOS 7.
> > ...
> 
> -std=gnu99 is default with the ancient gcc on CentOS 7,
> you could pass -std=gnu11 to bring it to the same standard
> as current gcc.
> 

info gcc for gcc 4.8.5 says:

The default, if no C language dialect options are
given, is '-std=gnu90';

I get:

../../libtasn1-4.15.0/fuzz/corpus2array.c: In function
'main':
../../libtasn1-4.15.0/fuzz/corpus2array.c:123:4:
error: 'for' loop initial declarations
are only allowed in C99 mode
    for (int i = 8; i < 32 ; i++) {
    ^

Thanks,

Anuj


More information about the Openembedded-core mailing list