zephyr/cmake/compiler
Peter Bigot c7ad0b574a cmake: disable warning on C++ 20
Compound assigments like x |= y to volatile qualified values are
deprecated in C++20.  This idiom is common in CMSIS headers for
manipulating peripheral registers.  Since these headers are core they
are likely to be included indirectly in C++ modules; since they are in
vendor-provided headers we can't "fix" them.

Disable the warning when building for C++.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-12-19 04:54:46 -06:00
..
arcmwdt toolchain: arcmwdt: add compile options: -Wno-typedef-redefinition 2020-10-19 14:06:07 -05:00
clang clang: do not assert on libgcc not found 2020-11-02 14:30:37 -05:00
gcc cmake: disable warning on C++ 20 2020-12-19 04:54:46 -06:00
host-gcc toolchain: improved toolchain abstraction for compilers and linker 2020-09-04 20:36:59 +02:00
xcc toolchain: Xtensa C compiler using new abstraction pattern 2020-09-04 20:36:59 +02:00
compiler_flags_template.cmake cmake: toolchain: Toolchain abstraction templates 2020-09-04 20:36:59 +02:00