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.

Compiler/CCSTUDIO-C2000: -Wundef option to generate a warning if a preprocessor argument is not defined

Part Number: CCSTUDIO-C2000

Tool/software: TI C/C++ Compiler

Hi,

is there a switch in the C2000 compiler to generate a warning if the preprocessor find a undefined argument?

Example

#if (ARG_A == ARG_B)

if ARG_A and ARG_B are not defined the proprocessor translate

#if (0 == 0) -> true

The use of #if defined() is a way but I have to add it to all the source modules and is a long work.

I take a look into advance language option but I didn't find a solution.

Thank you

Regards

Giuseppe