2.11 Warnings and Errors
The #error and #warning preprocessor directives can be used to generate compile-time diagnostics.
- #error token-string
-
Issue error diagnostic token-string and
terminate compilation.
- #warning token-string
-
Issue warning diagnostic token-string and
continue compilation.