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:
> 
> 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.

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