◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── 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(_MSC_VER) #error _MSC_VER macro was not defined #endif See also: message -♦-