The #warning Directive

The #warning directive is similar to the #error directive.

Listing: Using the #warning Directive
#ifndef MY_MACRO
  #warning "
MY_MACRO set to default" 

  #define MY_MACRO 1234

#endif