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