Blue Swirl <blauwir...@gmail.com> writes:

> +For variadic macros, stick with C99 syntax:
> +
> +#define DPRINTF(fmt, ...)                                       \
> +    do { printf("IRQ: " fmt, ## __VA_ARGS__); } while (0)

That's not C99 syntax, the combination with ## is a gcc extension.  In
C99 you cannot have an empty __VA_ARGS__.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Reply via email to