Compiler Warning (level 4) C4837

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Visual Studio 2017 Documentation. 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

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

Trigraphs
Escape Sequences
Compiler Warnings That Are Off by Default

Show: