preprocessor/10613: Please make -Wtrigraphs the default

Hallvard B Furuseth h.b.furuseth@usit.uio.no
Sun May 4 09:59:00 GMT 2003


neil@gcc.gnu.org writes:

>     -Wall implies -Wtrigraphs.  Zack and I, the active CPP
>     maintainers, feel this is enough, but that we're willing to add it
>     to be on by default to gauge the response.
>     
>     Is -Wall not enough for you?

No.  -Wall would be enough if -trigraphs was turned on by default, or if
trigrahs where syntax errors by default.  My problem is that code
_silently_ compiles differently on gcc with standard options and on an
ISO C compiler.  This is very different from normal gcc extensions,
where the code won't compile at all on an ISO C compilers - then one
certainly notices the difference.

-- 
Hallvard



More information about the Gcc-bugs mailing list