Skip to content
Commit c7ad0b57 authored by Peter Bigot's avatar Peter Bigot Committed by Kumar Gala
Browse files

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: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent 2eaa96ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment