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"


"Kaveh R. Ghazi" wrote:
> I still think we should always silently accept // comments in system
> headers no matter what.  Even if -ansi -pedantic.  (Otherwise we can't
> stop "fixing" these headers.)
since I've not seen anyone mention it, silently accepting non-standard
code in header files even with --ansi --pedantic, is existing practice
for gcc. An example is the varargs macro extension. So I agree that
we should silently accept // in a system header. (Sometimes I wish
I could say --really-pedantic-everywhere, but that's a different
question.)

nathan
-- 
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
Never hand someone a gun unless you are sure where they will point it
nathan@acm.org  http://www.cs.bris.ac.uk/~nathan/  nathan@cs.bris.ac.uk

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