This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]