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.

TMS320F28035: How to block remark warning at specific codes?

Part Number: TMS320F28035


Hi Team,

Here's an issue from the customer may need your help:

Assume that there is the following macro definition:

#define Vmax                 100

#define MAX(a,b)            (((a) > (b)) ? (a) : (b))

Compiling using CCS3.3, when calling the statement:

int a = Max(Vaxm, 200)

the following warning will occur: 

remark: controlling expression is constant

I want to eliminate this warning, so I would like to ask if there is a command to block the remark warning information at a specific location.

--

Thanks & Regards