This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: strict_prototypes_lang_c
- To: law at cygnus dot com
- Subject: Re: strict_prototypes_lang_c
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Wed, 16 Dec 1998 10:48:23 +0000
- Cc: egcs at cygnus dot com
- Cc: richard dot earnshaw at arm dot com
- Organization: ARM Ltd.
- Reply-To: richard dot earnshaw at arm dot com
> > Another question: does enabling trigraphs do any potential harm to users
> > that are unaware of trigraphs? I suppose you could accidentally include
> > a trigraph pattern in a string without knowing it, but it seems like a
> > low-probability event.
> It can happen. There is an option to warn about tri-graph sequences
> -Wtrigraph. However, it is only enabled when trigraphs are enabled.
cccp.c also turns it on if -Wall is passed.
else if (!strcmp (argv[i], "-Wall"))
{
warn_trigraphs = 1;
warn_comments = 1;
}