Due to server problems the website is temporarily offline! Visit http://www.smorgasbordet.com/pellesc/ to download Pelles C.
Does exist a way, in PellesC, to emulate the variadic macros of gcc?
#define eprintf(format, ...) fprintf (stderr, format, __VA_ARGS__)
#define f(__fmt, ...) printf(__fmt, __VA_ARGS__)
f("just a message\n");
#include <stdio.h>#define EPRINTF(...) fprintf(stderr, __VA_ARGS__)int main(void){ EPRINTF("test 1\n"); EPRINTF("%s %d\n", "test", 2);}