[aspectc-user] using #define whith __VA_ARGS__
Leandro Costa
leandro.costa at gmail.com
Thu Nov 27 10:44:30 CET 2008
Hi Mathias, I'm realy sorry about my mistakes, these happened when I wrote
the mail:
On Thu, Nov 27, 2008 at 7:22 AM, Matthias Urban <
matthias.urban at pure-systems.com> wrote:
> #define LOGMSG(level, buffer, ...) Logger::lprintf (level, buffer,
>> ##_VA_ARGS__)
>>
>
> It has to be __VA_ARGS__, not _VA_ARGS__.
>
Yes, the code is: #define LOGMSG(level, buffer, ...) Logger::lprintf
(level, buffer, ##__VA_ARGS__)
LOGMSG (SILENT, "C::%s () - debugging...\n", __FUNCTION__,);
>
Here you have to remove the trailing comma.
Yes, I used: LOGMSG (SILENT, "C::%s () - debugging...\n", __FUNCTION__);
> Regards,
> Matthias
>
The problem persists.
[]'s
--
_____________________________________________
Leandro Souza Costa
"A vitória se encastela em jardins encantadores,
mas para se chegar a ela não há caminho de flores"
_____________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20081127/8aa9ffa7/attachment.html>
More information about the aspectc-user
mailing list