Hello everybody,
I would like to replace the LOG_printf messages that I inserted in the
development version of my code with sprintf calls
I tried to perform this operation writing
#define LOG_printf(x,y, ...)
sprintf(msg_buffer[(msg_index++)%MESSAGE_BUFFER],y,__VA_ARGS__)
where msg_buffer, msg_index are global variables.
However this code doesn't work.
At compile time I receive the error:
" error: expected an identifier" (related to "...")
It works in GCC.
I included
#include
Any help will be very appreciated
Chiacchiera con i tuoi amici in tempo reale!
http://it.messenger.yahoo.com" target="_blank" rel="nofollow">http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com