Passing -std=c99
has the same effect of enabling the trigraph and disabling the warning.
It must enable the trigraph to be strictly standard-compliant. Disabling the warning is surprising, but note that the warning is about a trigraph being ignored. The warning probably goes away because -std
failed to activate separate warnings (-Wtrigraphs
) about a trigraph being used.
And that should probably be considered a bug.