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> |
||
|---|---|---|
| .. | ||
| compiler_flags.cmake | ||
| generic.cmake | ||
| target.cmake | ||
| target_arm.cmake | ||
| target_riscv.cmake | ||
| target_sparc.cmake | ||
| target_x86.cmake | ||