[Bug c++/77263] comment /* */ is ignored in some cases

bremende55 at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Aug 16 12:20:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77263

--- Comment #4 from Jo <bremende55 at gmail dot com> ---
(In reply to Jonathan Wakely from comment #3)
> (In reply to Jo from comment #2)
> >  /* and */ as part of a C-string literal should not interfere with /* */ in
> > the code.
> 
> They are no part of a string-literal, they are part of a comment, and the
> comment is terminated by the first */ token.

ok, I got it. Thank you.


More information about the Gcc-bugs mailing list