5 Sep 2008 05:46
Gadu-Gadu broken for ANSI
Hello, Adam! I'm afraid latest changes to gg.h have broken ANSI compatibility. VC6 refuses to compile gg.h because of this: #define gg_netlog(format, ...) gg_netlogex(gg, format, ## __VA_ARGS__) Error log as following: -------------------Configuration: GG - Win32 Release-------------------- Compiling... gg.c D:\miranda\trunk\miranda\protocols\Gadu-Gadu\gg.h(366) : error C2010: '.' : unexpected in macro formal parameter list D:\miranda\trunk\miranda\protocols\Gadu-Gadu\gg.h(366) : error C2010: '.' : unexpected in macro formal parameter list D:\miranda\trunk\miranda\protocols\Gadu-Gadu\gg.h(366) : error C2010: '.' : unexpected in macro formal parameter list D:\miranda\trunk\miranda\protocols\Gadu-Gadu\gg.h(366) : error C2010: ')' : unexpected in macro formal parameter list Error executing cl.exe. GG.dll - 4 error(s), 0 warning(s) Apparently, macros with variable number of arguments are not supported by ANSI C. I'd appreciate if you could find an alternative. Thank you. Regards, Drugwash -- -- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge(Continue reading)

RSS Feed