This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Warning for trigraphs in comment?
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