This is the mail archive of the gcc@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: Compiling some files with -Werror?


 > From: Diego Novillo <dnovillo at redhat dot com> 
 > 
 > I'd like to add -Werror to CFLAGS when building all the tree-ssa
 > files, but I can't enable it globally because many files in the rest
 > of the compiler have warnings in them.

Well, you could fix some of these warnings...


 > 
 > Is there a way of specifying a per-file CFLAGS setting?
 > Thanks.  Diego.

I'm actively working on it.  With today's warning sweep checkins, I'm
very close to being able to bootstrap or cross-compile all of the
primary and secondary platforms with -Werror enabled.

Check out this thread for how -Werror will be activated for stage2
only and de-activated on a per-file basis later in the thread.
http://gcc.gnu.org/ml/gcc-patches/2003-01/msg00926.html

		--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]