This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Still a lot of C++ files getting "fixed"
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: Still a lot of C++ files getting "fixed"
- From: Nathan Sidwell <sidwell at codesourcery dot com>
- Date: Thu, 27 Jan 2000 11:05:10 +0000
- CC: zack at wolery dot cumb dot org, austern at sgi dot com, autogen at linuxbox dot com, gcc-bugs at gcc dot gnu dot org, mark at codesourcery dot com
- References: <200001262138.QAA12458@caip.rutgers.edu>
"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