Preprocessor Warning Directive (#warning)

A preprocessor warning directive causes the preprocessor to generate a warning message but allows compilation to continue. The argument to #warning is not subject to macro expansion.

A #warning directive has the form:

               .--------------------.
               V                    |
>>-#--warning----preprocessor_token-+--------------------------><
 
 

The preprocessor #warning directive is an orthogonal language extension provided to facilitate handling programs developed with GNU C. The IBM implementation preserves multiple white spaces.

Related References

IBM Copyright 2003