This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Warning for trigraphs in comment?
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 18 May 2003 10:15:49 -0700
- Subject: Re: Warning for trigraphs in comment?
- References: <m34r3sxw7j.fsf@uniton.integrable-solutions.net>
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. 3.4 now warns about ??/\n in
a comment. The change is self-contained and could be put into 3.3.1
if people think that's a good idea.
zw