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: Bruce Korb <bkorb at sco dot COM>
- Date: Wed, 26 Jan 2000 09:39:23 -0800
- CC: mark at codesourcery dot com, martin at loewis dot home dot cs dot tu-berlin dot de, austern at isolde dot engr dot sgi dot com, austern at sgi dot com, autogen at linuxbox dot com, gcc-bugs at gcc dot gnu dot org
- Organization: Santa Cruz Operation
- References: <200001261718.MAA26147@caip.rutgers.edu>
"Kaveh R. Ghazi" wrote:
>
> If we decide not to fix // comments in system headers, then IMHO, we
> cannot have -pedantic *reject* // in system headers. Otherwise
> -pedantic becomes useless for systems which have this problem.
> [[...]]
> So I don't think we should even warn about it. I can't imagine a
> system header would have a "foo //**/bar" type problem, and if it does
> then we fix *that* header like Bruce said.
You can warn about anything with -Wall, otherwise
you are completely correct.