This is the mail archive of the
gcc@gcc.gnu.org
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, dewar@gnat.com <dewar@gnat.com> wrote:
>
> In fact the current documentation is clear and appears to match the
> documentation.
I'm not quite sure what you mean there (did you intend to say
"appears to match the implementation"?).
The current documentation says
`-Wtrigraphs'
Warn if any trigraphs are encountered that might change the
meaning of the program (trigraphs within comments are not warned
about).
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 <fjh@cs.mu.oz.au> | "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.