I need to write a variadic macro in C which must take zero or more arguments.
In gcc, that can be achieved by adding "##" after the comma, e.g. ,##____VA_ARGS____
as answered in Variadic macros with zero arguments.
However, the compiler in my build system (beyond my control) does not understand the ,##
syntax and so does not swallow the comma.
Is there a workaround I can use?
Thanks!