Hi, i use gcc and some of its extensions, for example:
#define tmError(lev, fmt, ...) \ tmErrorFunc(lev, __FILE__, __LINE__, fmt, __VA_ARGS__) It seems that "+gnuextensions" doesn't enable this syntax. This would also be great for some embedded code that uses extensions like "__attribute__ ((section))". Is there some other way to express the above #define in ANSI C? Best regards, Torsten.