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.

How to use _Pragma inside a macro to suppress a warning?

Hi,

I want to know how to use _Pragma inside a macro to suppress a warning.

For some reason, e2e switched forums when I asked the question.
Here's the link (so I do not create a question duplicate): 

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

Thank you,
Gabriel