Warning for trigraphs in comment?
Paul Koning
pkoning@equallogic.com
Mon May 19 13:22:00 GMT 2003
>>>>> "Gabriel" == Gabriel Dos Reis <gdr@integrable-solutions.net> writes:
>> The patch is not appropriate for 3.3.
>> The real fix is to remove trigraphs from the standard.
Gabriel> Oh, I'm all for removing trigraphs, digraphs, quadrigraphs
Gabriel> and whatevergraphs -- I've also thought they were mistakes.
Gabriel> But, in fact, I'm skeptical that would ever happen.
I like the notion too. Trigraphs are an utter misfeature.
Would it make sense to have the lexer ignore trigraphs (i.e., just
treat ??/ as three characters) unless specifically enabled with
-fenable-trigraphs? In the unlikely case that anyone actually uses
trigraphs, this would enable them to continue doing so.
paul
More information about the Gcc
mailing list