This is the mail archive of the gcc-bugs@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: Still a lot of C++ files getting "fixed"


 > From: Mark Mitchell <mark@codesourcery.com>
 > 
 >     Matt> I tend to think that anyone who puts this kind of garbage in
 >     Matt> a header deserves what they get, of course. 
 > 
 > True.  But, -ansi is specifically documented to be pedantically ANSI;
 > that's its whole purpose in life.  So, either we should can it, or
 > make sure it does what it's there fore.

I think there is a middle ground.  We certainly kill lots of
diagnostics in system headers already because there is nothing a
*user* can do when they get a message about a header file.

So it is not a great leap to do the same for -ansi.  It can be
pedantically ANSI for user code, and more relaxed about system
headers, IMHO.

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