Directive #warning


Directive #warning

#warning

Description

Generate a warning during preprocessing.

This directive causes a cpp warning, it can be used to notify the user that certain functions are missing and similar things.

Example
#if !constant(Yp)
  #warning Support for NIS not available. Some features may not work.
  #endif
See also

#error