On Wed, Jun 14, 2000 at 10:23:39PM -0700, H. Peter Anvin wrote:
> > > -Wall turns on -Wtrigraphs. ANSI says trigraph processing happens even
> > > in comments, and there are very rare cases where they could conceivably
> > > make a difference (though not in this one). ??/ is turned into \.
> > >
> > > Adding -Wno-trigraphs after -Wall should shut up the compiler.
> > >
> This is obviously a gcc bug. The documentation says:
> Warn if any trigraphs are encountered (assuming they are
> It also says:
> Support ANSI C trigraphs. You don't want to know about this
> brain-damage. The `-ansi' option implies `-trigraphs'.
Oh - I should have looked that up ...
> There is no -no-trigraphs option.
Actually there is (from gcc.info):
Each of these specific warning options also has a negative form
beginning `-Wno-' to turn off warnings; for example, `-Wno-implicit'.
> We don't *want* trigraphs, since they invoke behaviour that is
> generally unexpected. There is nothing on that command line that
> should have turned trigraphs on. Thus, I conclude that the
Yes, I agree.
> -Wtrigraphs option is broken in the version of gcc you're using (2.96,
> right?) and that this bug should be reported.
Ok - I will report that a second time.
Thanks for your infos!
-- | Thorsten Kranzkowski Internet: email@example.com | | Mobile: ++49 170 1876134 Snail: Niemannsweg 30, 49201 Dissen, Germany | | Ampr: dl8bcu@db0lj.#rpl.deu.eu, firstname.lastname@example.org [184.108.40.206] |
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:10 EST