This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: strict_prototypes_lang_c


>   > 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;
          }



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]