Convert libiberty to use ISO C prototype style 3/n
Gabriel Dos Reis
gdr@integrable-solutions.net
Sun Mar 27 14:16:00 GMT 2005
Andreas Jaeger <aj@suse.de> writes:
| I know get tons of warnings in libiberty like the following:
| /cvs/gcc/libiberty/cp-demangle.c:2609: warning: traditional C rejects ISO C styl
| e function definitions
|
| I propose to remove the "-Wtraditional -pedantic" flags from the
| CFLAGS, they are currently set in configure.ac:
|
| ac_libiberty_warn_cflags='-W -Wall -Wtraditional -pedantic'
|
| Here's a patch. I'm currently testing on x86-64-linux-gnu. Ok to
| commit if bootstrap passes?
I'm planning to get to those once conversion is complete -- I still
have a couple of such patches. Thanks for beating me at it.
Only -Wtraditional is cuasing the problem.
DJ, I think AJ's patch is OK and should be applied as it is a logical
part of the conversion.
-- Gaby
More information about the Gcc-patches
mailing list