Keil Logo

ARMCC: warning: #3731-D: intrinsic is deprecated


Information in this knowledgebase article applies to:

  • MDK-ARM V5.16
  • ARM CMSIS.4.3.0-Pack and older

SYMPTOM

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

CAUSE

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.

RESOLUTION

Either ignore the warnings or update the ARM CMSIS Pack to a version later than V4.3.0 to get these warning messages suppressed.

MORE INFORMATION

SEE ALSO

Last Reviewed: Thursday, October 22, 2015


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.