Warning for trigraphs in comment?

Gabriel Dos Reis gdr@integrable-solutions.net
Mon May 19 06:57:00 GMT 2003


Zack Weinberg <zack@codesourcery.com> writes:

| Gabriel Dos Reis <gdr@integrable-solutions.net> writes:
| 
| >    Second, consider the comment line.  Did you notice that it ends oddly,
| >    with a "/"?
| >
| >        // What will the next line do? Increment???????????/
| >                                                           ^
| ...
| >
| > is extracted from Herb's GTW #86 -- full message appended below.
| > I would suggest we warn for trigraphs in comments.
| 
| This was discussed a couple weeks back.

Sorry, I missed that.

|  3.4 now warns about ??/\n in a comment.

I'm glad to learn that.

Thanks,

-- Gaby



More information about the Gcc mailing list