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.

Raise an error when preprocessor finds an not known define

Hi!

 

Is it possible when using TMS320x to raise an error or warning

when the preprocessor meets a define which is not known?

At the moment it assumes to be zero,

so

#if DEFINE_NOT_DEFINED

is not defined anywhere,

it is interpreted as

#if 0

and no message is raised.

 

Thanks for your help.

Julian Dieterle