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.

[参考译文] 如何在宏中使用_Pragma 来抑制警告?

Guru**** 2564070 points


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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1212796/how-to-use-_pragma-inside-a-macro-to-suppress-a-warning

您好!

我想知道如何在宏中使用_Pragma 来阻止警告。

出于某种原因、当我提问时、e2e 切换了论坛。
以下是链接(因此我不会创建问题副本):  

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1212795/rm46l852-how-to-use-_pragma-inside-a-macro-to-suppress-a-warning

谢谢!
加布里埃尔