0e73ffcfe2
The #if to use static_assert() for BUILD_ASSERT() only checks whether compiler is in C++ mode, but does not check what C++ standard is being used. Since static_assert() is only valid since C++11, for compilers not supporting C++11 (XCC...), this will result in error. So add the correct #if to also check for C++ standard being used. Signed-off-by: Daniel Leung <daniel.leung@intel.com> |
||
---|---|---|
.. | ||
armclang.h | ||
common.h | ||
gcc.h | ||
llvm.h | ||
mwdt.h | ||
xcc.h | ||
xcc_missing_defs.h | ||
zephyr_stdint.h |