Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

All occurrences in a source file of the following sequences of three characters (that is, trigraph sequences) are replaced with the corresponding single character.

??=

#

 

??)

]

 

??!

|

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="abe65b002cf13b66-e1749134-4cf642db-bda98eca-b42d8c269990e443835b098b"><ac:plain-text-body><![CDATA[

??(

[

 

??'

^

 

??>

}

]]></ac:plain-text-body></ac:structured-macro>

??/

\

 

??<

{

 

??-

~

...

Recommendation

Severity

Likelihood

Remediation Cost

Priority

Level

PRE07-A

1 (low)

1 (unlikely)

2 (medium)

P2

L3

Automated Detection

GCC provides a --no-trigraph option that is enabled by default. GCC also provides the -Wtrigraphs option that warns when trigraphs are used.

The LDRA tool suite V 7.6.0 is able to detect violations of this recommendation.

...