Menu

Warning directive

Cyder

Warning Directive

Config: TPP_CONFIG_HAVE_WARNING
Check: #if __has_feature(tpp_directive_warning) || __has_extension(tpp_directive_warning)
Function: tpp.c TPPLexer_Next
Known supporting compilers: gcc, clang

With a syntax identical to the #error directive, this directive will only yield a warning (5), when reached.

#if defined(EXPERIMENTAL)
#warning This stuff is experimental, you know...
#endif