Saturday, March 17, 2012

#error in c

#error

The #error directive forces the compiler to stop compilation. It is used primarily for debugging. The general form of the #error directive is

#error error-message

The error-message is not between double quotes. When the #error directive is encountered, the error message is displayed, possibly along with other information defined by the compiler.

No comments:

Post a Comment