Compiler Warning (level 4) C4837

trigraph detected: '??%c' replaced by '%c'

The detected trigraph is replaced by the indicated character.

The compiler translates trigraphs before any other processing is completed. Use the character escape sequence, \?, to prevent the misinterpretation of a character sequence that resembles a trigraph. For more information about trigraphs, see Trigraphs. For more information about escape sequences, see Escape Sequences.

C4837 is off by default. See Compiler Warnings That Are Off by Default for more information.

To correct this error

  • Use the character escape sequence, \?, instead of one of the '?' characters in the source code.

See Also

Reference

Compiler Warnings That Are Off by Default

Concepts

Trigraphs

Escape Sequences