[aspectc-user] using #define whith __VA_ARGS__
Matthias Urban
matthias.urban at pure-systems.com
Thu Nov 27 10:22:56 CET 2008
Hi Leandro,
> I have the following macro:
>
> #define LOGMSG(level, buffer, ...) Logger::lprintf (level, buffer,
> ##_VA_ARGS__)
It has to be __VA_ARGS__, not _VA_ARGS__.
> And in a certain C.cc file, I do the following:
>
> LOGMSG (SILENT, "C::%s () - debugging...\n", __FUNCTION__,);
Here you have to remove the trailing comma.
Regards,
Matthias
More information about the aspectc-user
mailing list