This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

-Wtraditional and gcc 3.2 source code and new warning


The warning for `traditional C rejects ISO C style function definitions' that was just put in
produces some for the source code of gcc. Following the take of ISO C'ing the source code,
I include a list of files that produce the warning

gcc/gengtype.c:611: warning: traditional C rejects ISO C style function definitions
gcc/gengtype.c:799: warning: traditional C rejects ISO C style function definitions
gcc/gengtype-lex.c:1597: warning: traditional C rejects ISO C style function definitions
gcc/gengtype-lex.c:2455: warning: traditional C rejects ISO C style function definitions
gcc/gengtype-lex.c:2603: warning: traditional C rejects ISO C style function definitions
gcc/gengtype-lex.c:2618: warning: traditional C rejects ISO C style function definitions
gcc/gengtype-lex.c:2647: warning: traditional C rejects ISO C style function definitions
gcc/gengtype-lex.c:2662: warning: traditional C rejects ISO C style function definitions
gcc/gengtype-lex.c:2692: warning: traditional C rejects ISO C style function definitions
gcc/gengtype-lex.c:2721: warning: traditional C rejects ISO C style function definitions
gcc/gengtype-lex.c:2749: warning: traditional C rejects ISO C style function definitions
gcc/gengtype-lex.c:2780: warning: traditional C rejects ISO C style function definitions
gcc/gengtype-lex.c:2817: warning: traditional C rejects ISO C style function definitions
gcc/gengtype-lex.c:2835: warning: traditional C rejects ISO C style function definitions
gcc/gengtype-lex.c:2928: warning: traditional C rejects ISO C style function definitions
gcc/gengtype-lex.c:2992: warning: traditional C rejects ISO C style function definitions
gcc/gengtype-lex.c:3003: warning: traditional C rejects ISO C style function definitions
gcc/gengtype-lex.c:3020: warning: traditional C rejects ISO C style function definitions
gcc/toplev.c:1553: warning: traditional C rejects ISO C style function definitions
gcc/tracer.c:69: warning: traditional C rejects ISO C style function definitions
gcc/tracer.c:114: warning: traditional C rejects ISO C style function definitions
gcc/tracer.c:132: warning: traditional C rejects ISO C style function definitions
gcc/objc/objc-act.c:6715: warning: traditional C rejects ISO C style function definitions
gcc/gengtype.c:611: warning: traditional C rejects ISO C style function definitions
gcc/gengtype.c:799: warning: traditional C rejects ISO C style function definitions

The only one that cannot be prevented is gengtype-lex.c, I think.
All the rest need to be patched, right?
If no one gets around to it by Thursday, I will be producing a patch.

Thanks,
Andrew Pinski



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