Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/preprocessor/error"

From cppreference.com
(See also: fmt)
m (r2.7.3) (Robot: Adding ar, cs, de, fr, it, ja, pl, pt, zh)
Line 17: Line 17:
 
===See also===
 
===See also===
 
* {{rlp | warning | warning directive}}
 
* {{rlp | warning | warning directive}}
 +
 +
[[ar:cpp/preprocessor/error]]
 +
[[cs:cpp/preprocessor/error]]
 +
[[de:cpp/preprocessor/error]]
 +
[[fr:cpp/preprocessor/error]]
 +
[[it:cpp/preprocessor/error]]
 +
[[ja:cpp/preprocessor/error]]
 +
[[pl:cpp/preprocessor/error]]
 +
[[pt:cpp/preprocessor/error]]
 +
[[zh:cpp/preprocessor/error]]

Revision as of 16:24, 4 May 2012

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.

See also