[Bug preprocessor/33063] C++ preprocessor warns about /* in //-comments starting with //*
trick at icculus dot org
gcc-bugzilla@gcc.gnu.org
Mon Aug 13 20:04:00 GMT 2007
------- Comment #2 from trick at icculus dot org 2007-08-13 20:03 -------
(In reply to comment #1)
> And I don't see why it is wrong to warn here because it is /* still as // is
> really two tokens and so is /* .
Shouldn't //* be treated as '//' followed by '*' though? Even if not:
// /*
this is not commented out
// */
Since /* */ comments are ineffective within //-comments, there's not any reason
to warn about them there anyway. All that warning does is cluttering up the
output.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33063
More information about the Gcc-bugs
mailing list