warning: multi-line comment (why?)

Richard Henderson rth@cygnus.com
Sun Sep 17 16:26:00 GMT 2000

On Sun, Sep 17, 2000 at 06:54:53PM -0400, Craig Rodrigues wrote:
> x.cc:2:2: warning: multi-line comment 
> What is the point of this warning?  Shouldn't the preprocessor
> just ignore everything between the // and the end-of-line?

No, backslash-newline conversion happens before comments
are discarded.  You really do have a multi-line comment;
one that would be dangerous if your next line weren't a
comment as well.


More information about the Gcc mailing list