This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Enable warnings for libbanshee
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: aj at suse dot de
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 29 Feb 2004 09:18:43 -0500 (EST)
- Subject: Re: [tree-ssa] Enable warnings for libbanshee
- References: <m3ptbyutdd.fsf@gromit.moeb> <m3llmmut45.fsf@gromit.moeb>
> Looking closer at the warnings, we should use IMO (As we do in GCC and
> not as we do in libiberty):
>
> ac_libbanshee_warn_cflags='-W -Wall -pedantic -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes
Is libbanshee only ever compiled with the target GCC? If so, then you
don't need -pedantic. We should only use -pedantic on code that may
be built with another ISO C compiler.
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu