This is the mail archive of the
mailing list for the GCC project.
Re: Trigraph warnings when compiling linux-2.4.0-prerelease1
- To: dewar at gnat dot com
- Subject: Re: Trigraph warnings when compiling linux-2.4.0-prerelease1
- From: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- Date: Wed, 3 Jan 2001 14:03:07 +1100
- Cc: jbuck at racerx dot synopsys dot com, torvalds at transmeta dot com, gcc at gcc dot gnu dot org, per at bothner dot com
- References: <20010102212743.DBE3534D80@nile.gnat.com>
On 02-Jan-2001, email@example.com <firstname.lastname@example.org> wrote:
> In fact the current documentation is clear and appears to match the
I'm not quite sure what you mean there (did you intend to say
"appears to match the implementation"?).
The current documentation says
Warn if any trigraphs are encountered that might change the
meaning of the program (trigraphs within comments are not warned
which is different to the documentation quoted earlier in this
thread. I agree that it seems clear enough.
> It is certainly reasonable to ask the question of
> whether the warning should be effective even if trigraphs are enabled,
I think that if you use `-Wtrigraphs', you should get the warnings
regardless of whether trigraph substitution is enabled or not.
That is the current behaviour, and matches the current documentation.
Fergus Henderson <email@example.com> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.