ARMCC: warning: #3731-D: intrinsic is deprecated
Information in this knowledgebase article applies to:
When I build the CMSIS RTOS libraries with the project in: C:\Keil\ARM\PACK\ARM\CMSIS\4.3.0\CMSIS\RTOS\RTX\SRC\ARM with ARMCC version 5.06 which comes with MDK 5.16, I get warnings like this one:
..\rt_HAL_CM.h(204): warning: #3731-D: intrinsic is deprecated
The ARM compiler does not guarantee to preserve the state of the exclusive monitor. This is why the __ldrex, __ldrexd, __strex and __strexd intrinsics are deprecated.
Either ignore the warnings or update the ARM CMSIS Pack to a version later than V4.3.0 to get these warning messages suppressed.
Last Reviewed: Thursday, October 22, 2015
of your data.