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: [tree-ssa] Enable warnings for libbanshee


 > 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


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