Skip to content

C++20 volatile warnings #1343

Open
Open
@GFoxPM

Description

@GFoxPM

Lots of warnings: compound assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]
Fixes like:
/src/rp2_common/cmsis/stub/CMSIS/Core/Include/mpu_armv7.h#L210

-  MPU->CTRL  &= ~MPU_CTRL_ENABLE_Msk;
+  MPU->CTRL  = MPU->CTRL & ~MPU_CTRL_ENABLE_Msk;

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions