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="7e30b98a78e21d62-799e3564-4ed14bd7-8584afa3-b02dd067b708d95ddeba808d"><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.

...