This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: warning: multi-line comment (why?)
The motivation is for when you do "comment-region" in Emacs to comment
out code that includes macros.
Neil Booth wrote:
> > Regardless, just glancing at it, you've broken silently ignoring nulls
> > in comments. You've also broken backslash and trigraph-escaped
> > newlines, I think. I want those fixed, cleanly, and testcases at
> > least.
>
> Sorry, ignore that about newlines, I meant slashes and I don't think
> I'm right.
Hmm. The nulls which warn are part of the multi-line comment. Fair
enough, I'll fix that and get the correct column numbers too.
Trigraph-escaped slashes aren't checked for, so you still get the
warning in that case. Do you care?
-- Jamie