This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is there printing value of macro using armcc?

Hello all.

Is there printing value of macro using armcc?

I want to see define value in c file?

for example,

#define value_a      1

#define value_b      2

#if value_a > value_b

#error "error"

#endif

I want to print the value(value_a, value_b) during compile time with armcc.

do you know how can i it?

Thanks in advance.

BR,

MK