15 Preprocessing directives [cpp]

15.8 Diagnostic directives [cpp.error]

A preprocessing directive of either of the following forms
# error pp-tokens new-line
# warning pp-tokens new-line
causes the implementation to produce a diagnostic message that should include the specified sequence of preprocessing tokens; the # error directive renders the program ill-formed.