Difference between revisions of "cpp/preprocessor/error"
From cppreference.com
< cpp | preprocessor
m (Text replace - "{{see also}}" to "===See also===") |
(→See also: fmt) |
||
Line 16: | Line 16: | ||
===See also=== | ===See also=== | ||
− | + | * {{rlp | warning | warning directive}} | |
− | {{rlp | warning | warning directive}} | + |
Revision as of 12:46, 29 October 2011
Template:cpp/preprocessor/sidebar Shows given message and renders program ill-formed.
Syntax
#error Template:sparam
|
|||||||||
Explanation
After encountering #error
directive, diagnostic message Template:sparam is shown and the program is rendered ill-formed (the compilation is stopped).
error_message can consist of several words not necessarily in quotes.