#error (directive)
Issues error message
Syntax:
#error
If this line of code is compiled by the compiler, a fatal error message will be issued for this line and include the text defined by.
Example:
Issues error message
Syntax:
#error
If this line of code is compiled by the compiler, a fatal error message will be issued for this line and include the text defined by
Example:
#if !defined(MODEL) #error Building model not defined #endif |
0 comments:
Post a Comment