[no-commit-intention] Naive unnamed fields for main_type [Re: [patch] Fix gdb-gdb.py for flds_bnds copy-pastes]

Tom Tromey tromey@redhat.com
Fri Feb 10 18:05:00 GMT 2012


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> I do not see anything even close to C90 compatibility, there are tons of
Jan> errors with `gcc -std=c90 -pedantic', `sort -u' of them below.

I'm not sure that all these problems really represent C90
incompatibilities.  Some of them are GNU extensions either discovered by
configure (or did you reconfigure with those options?) or by looking at
__GNUC__ (which is ok in the sense that we just shouldn't bother
supporting builds with -pedantic).

Jan> coff-x86_64.c:174:13: error: ISO C90 does not support ‘long long’ [-Werror=long-long]

Definitely a real bug :)

Jan> error: ISO C forbids forward references to ‘enum’ types [-Werror=edantic]

Do these really say 'edantic' (missing 'p')?
If so, could you report it as a GCC bug?

Tom



More information about the Gdb-patches mailing list