This is the mail archive of the gcc-patches@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]

Re: Convert libiberty to use ISO C prototype style 3/n


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


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