toolchain: introduce macro TOOLCHAIN_HAS_PRAGMA_DIAG
This introduces the macro TOOLCHAIN_HAS_PRAGMA_DIAG to indicate
that the toolchain supports #pragma diagnostics. This is
supported since GCC 4.6.0 and, AFAIK, all Clang.
Signed-off-by:
Daniel Leung <daniel.leung@intel.com>
Loading
Please sign in to comment