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]

Re: cpplib and a couple others: squelch -pedantic warnings


 > From: Jason Merrill <jason@cygnus.com>
 > 
 >  > Incidentally, as long as we're cranking up the warning level, could we
 >  > turn on -Wwrite-strings?
 > 
 > Sounds good to me.  I think Kaveh has already fixed most of the potential
 > warnings.
 > Jason

Yep, been working towards it.  There are around 100 left depending on
platform (having start with many thousands.)

I usually add -Wcast-qual when using -Wwrite-strings, you may want to
add it too.  (That only adds another 30, mostly from cpp casting away
const-ness in parameters passed to free().)

We should also think about -Wstrict-prototypes, though I'm still
waiting for your insn-flags.h cleanup patch.  What ever happened to
that?  Still no feedback?

		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions

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