zephyr/cmake/compiler/gcc
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
..
compiler_flags.cmake cmake: disable warning on C++ 20 2020-12-19 04:54:46 -06:00
generic.cmake cmake: Correct PATHS usage 2020-05-20 12:10:20 +02:00
target.cmake cmake: Added SPARC support 2020-11-13 14:53:55 -08:00
target_arm.cmake kconfig: Rename CONFIG_FLOAT to CONFIG_FPU 2020-04-27 19:03:44 +02:00
target_riscv.cmake cmake: extend target_ld_options() to support grouping of flags 2020-10-27 13:09:02 +01:00
target_sparc.cmake SPARC: add FPU support 2020-12-04 14:33:43 +02:00
target_x86.cmake cmake: add --divide to GNU assembler options for x86 2019-10-31 09:09:22 +01:00