Format

#error Text

Args

Text: an error message to display

The #error directive halts compilation and displays the specified message.

#if DM_VERSION < 4
#error This compiler is too far out of date!
#endif

See also

#warn directive