This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] MSPM0L1306:使用__atomic_add_fetch 时出错

Guru**** 2455560 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1493183/mspm0l1306-error-when-using-__atomic_add_fetch

器件型号:MSPM0L1306

工具与软件:

您好!

我们正在尝试使用__原子添加_ fetch ()_原子_ sub_fetch ()和_原子_和_ fetch ()。
当我们尝试编译时,我们有以下警告和错误:


我们将 CCS 2010与 TI clang V4.0.2.LTS 结合使用

是否有激活选项以便能够使用__atomic_*()?

此致、
Gaetan