Define PRAGMA_DIAGNOSTIC
Defined in File compiler.hpp
Define Documentation
-
PRAGMA_DIAGNOSTIC(ARGS)
Expands to a compiler-specific
#pragmaon GCC and clang.On GCC it is equivalent to
#pragma GCC diagnostic ARGSOn clang it is equivalent to
#pragma clang diagnostic ARGSOn other compilers it does nothing.
Example usage:
PRAGMA_DIAGNOSTIC(ignored "-Wpedantic")
- Parameters
ARGS – arguments for your compiler’s diagnostic pragma, as raw tokens.