◄Up► ◄Contents► ◄Index► ◄Back► ─────C/C++ Language───────────────────────────────────────────────────────── Directive: #error Syntax: #error message Summary: Causes the compiler to display <message> on stderr and return a nonzero code when the compiler terminates. After the compiler encounters an #error directive, it scans the rest of the program for syntax errors but does not produce an object file. For example: #if !defined( _CHAR_UNSIGNED ) #error /J option required. #endif See also: #pragma message -♦-