This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Convert libiberty to use ISO C prototype style 3/n
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org, DJ Delorie <dj at redhat dot com>
- Date: 27 Mar 2005 16:10:12 +0200
- Subject: Re: Convert libiberty to use ISO C prototype style 3/n
- Organization: Integrable Solutions
- References: <m3br95adv1.fsf@uniton.integrable-solutions.net><m3hdix4ck9.fsf@gromit.moeb>
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