This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Get rid of -trigraphs?
Neil Booth <neil@daikokuya.demon.co.uk> writes:
|> Zack Weinberg wrote:-
|>
|> > I don't think this is a good idea in general. I think there are lots
|> > of people out there counting on GCC not converting trigraphs - mainly,
|> > possibly exclusively - in string constants, but still. Yeah, their
|> > code is unportable, but I am not convinced we gain much of anything by
|> > breaking it.
|>
|> What kind of code would this be?
Automatically generated code which contains an offset table into a string
literal, which would become invalid due to trigraph conversion.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."