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: austern at isolde dot engr dot sgi dot com, austern at sgi dot com, mark at codesourcery dot com
- Subject: Re: Still a lot of C++ files getting "fixed"
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Tue, 25 Jan 2000 15:28:36 -0500 (EST)
- Cc: autogen at linuxbox dot com, gcc-bugs at gcc dot gnu dot org
> 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