Hello,
i am porting some legacy code that hash a nice logging macro
that uses varargs to tag the line, file of the message.
I have tried both the old gcc syntax and the new iso
but i could not get it to work.
Is code like this supposed to work?
#define dlog(fmt, ...) log(__LINE__, __FILE__, fmt, __VA_ARGS__)
I did look for the manual of the compiler (to know the language,
preprocessor and command line switches) but i did not
find any.
Thank You ..