+1
0
-1

Regarding accepting macro value in an unsigned int variable

func abc(unsigned int l_val);

#define DEFAULT 0U
#define GX_STR 70U

In expected value of l_val ==> DEFAULT macro is accepted but GX_STR is not accepted
Why?

...

Posting in: 

1 Answers:

+1
0
-1

Hello Moog,

This is normally caused by the .hpp file not being in a search(testable) or type handled directory.

Best regards

Brian