zephyr/include/toolchain
Daniel Leung 0e73ffcfe2 cpp: BUILD_ASSERT() uses static_assert() iff C++11
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>
2022-01-25 21:17:04 -05:00
..
armclang.h armclang: adding toolchain/armclang.h header 2021-08-30 08:54:23 -04:00
common.h arch: add MIPS architecture support 2022-01-19 13:48:21 -05:00
gcc.h cpp: BUILD_ASSERT() uses static_assert() iff C++11 2022-01-25 21:17:04 -05:00
llvm.h toolchain: add llvm abstraction 2021-04-22 07:42:58 -04:00
mwdt.h ARC: MWDT: enable back BUILD_ASSERT macro 2021-10-20 07:24:03 -04:00
xcc.h toolchain: xcc: add macro __in_section_unique_named() 2021-10-07 16:56:00 -04:00
xcc_missing_defs.h toolchain/xcc: Mark unsigned max as unsigned values for missing cases 2021-11-11 07:27:24 -05:00
zephyr_stdint.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00