This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Warning for trigraphs in comment?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]