Still a lot of C++ files getting "fixed"
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Wed Jan 26 09:48:00 GMT 2000
> From: Bruce Korb <bkorb@sco.COM>
>
> "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.
But then -Wall becomes needlessly noisy on platforms with // in system
headers.
IMHO, if we don't fix the headers, then we should always silently
accept // in system headers, regardless of what flags are set.
Whether we take action on *user* code is entirely different.
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions
More information about the Gcc-bugs
mailing list