Files
2025-10-25 03:02:53 +03:00

1.1 KiB

[cpp.error]

15 Preprocessing directives [cpp]

15.9 Diagnostic directives [cpp.error]

1

#

A preprocessing directive of the form

error pp-tokensopt new-line

renders the program ill-formed.

A preprocessing directive of the form

warning pp-tokensopt new-line

requires the implementation to produce at least one diagnostic message for the preprocessing translation unit ([intro.compliance.general]).

2

#

Recommended practice: Any diagnostic message caused by either of these directives should include the specified sequence of preprocessing tokens.