hello dear all
i'v try to use MARCO function in S32DS like this
#ifndef max
#define max(a,b) (((a) > (b)) ? (a) : (b))
#endif
#ifndef min
#define min(a,b) (((a) < (b)) ? (a) : (b))
#endif
but it shows some error like this, how can i solve it?
Hi Alex,
I don't see anything suspicious on the screenshot you attached.
Could you possibly post the C statement at line 182?
I'd recommend you to preprocess the main.c - perhaps this gives you more info about the macro usage.
Stan