Compiler directives: #out, #warning, #error

Syntax

#out "text"
#warning "text"
#error "text"

 

Remarks

Displays text in the output while compiling the macro.

 

#out just displays the text.

#warning displays the text as warning.

#error generates compile-time error.

 

See also: #if

 

Example

#if EXE
#warning "this function is unavailable in exe"
#else
 ...
#endif