The correct title of this article is #warn directive. The substitution or omission of the # sign is because of technical restrictions.
This page contains an entry from the official DM Reference. |
Format[]
#warn Text
Args[]
Text: | a warning message to display |
Description[]
The #warn directive displays the specified message as a warning, but does not prevent the project from compiling.
Example[]
#ifdef USE_LIGHTING #warn The lighting feature in MyLibrary is experimental. #endif
See also[]
preprocessor
| |
---|---|
directives
|
#define | #error | #if | #ifdef | #ifndef | #include | #undef | #warn
|
macros
|
DM_VERSION | __FILE__ | __LINE__ | __MAIN__
|
definitions
|
DEBUG | FILE_DIR
|