Hi *GCC*:

On page:

https://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html#Variadic-Macros

you say:

#define eprintf(args…) fprintf (stderr, args)

but do you in fact mean:

#define eprintf(args...) fprintf (stderr, args)

The first variant produces:

error: expected ',' or ')', found "…"

 the second variant works well using GCC10.2 on Kubuntu 18.04.

-- 
Thanks,

Phil <https://metacpan.org/author/PRBRENAN>

Philip R Brenan <https://metacpan.org/author/PRBRENAN>

Reply via email to