I have a function declared as:
int func(int a, int b, ...);
Then I want to #define a function-like macro as:
#define TEST(A,B) func(A,B,0)
But the compiler always complains: "error: expected declaration specifiers or '...', before numeric constant".
So, how can I eliminate this error?
0in a vararg since there's no type information to match against. Try(int) 0.