Go to main content
Oracle® Developer Studio 12.5: C User's Guide

Exit Print View

Updated: June 2017
 
 

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