SVN commit 1147937 by pavelheimlich: variadic macros are handled differently by Sun Studio M +8 -0 wm_config.h --- trunk/KDE/kdemultimedia/libkcompactdisc/wmlib/include/wm_config.h #1147936:1147937 @@ -352,11 +352,19 @@ #define DEBUG #ifdef DEBUG + #if defined(__SUNPRO_C) || defined(__SUNPRO_CC) + #define DEBUGLOG(...) fprintf(stderr, __VA_ARGS__) + #else #define DEBUGLOG(fmt, args...) fprintf(stderr, fmt, ##args) + #endif #else #define DEBUGLOG(fmt, args...) #endif +#if defined(__SUNPRO_C) || defined(__SUNPRO_CC) + #define ERRORLOG(...) fprintf(stderr, __VA_ARGS__) +#else #define ERRORLOG(fmt, args...) fprintf(stderr, fmt, ##args) +#endif #endif /* WM_CONFIG_H */