25 Jun
2008
25 Jun
'08
6:36 p.m.
On Tue, 2008-06-24 at 15:35 -0600, Jackie Hunt wrote:
Looking at macros.h, the section it is erroring on is:
#ifdef CONTEXT_TYPE_SAFETY
define CONTEXT_CALLBACK(name, callback_type, callback, context, ...) \
({(void)(1 ? 0 : callback(context)); \ name(__VA_ARGS__, (callback_type *)callback, context); })
#else
define CONTEXT_CALLBACK(name, callback_type, callback, context, ...) \
name(__VA_ARGS__, (callback_type *)callback, context)
#endif
The second define is the line the error occurs on. Has anyone seen this before. I'm assuming xlc can't handle the '...' parameter, and an hoping there is an option I can enable. Just thought I might see if anyone else has already solved this issue.
Can you somehow enable C99 support for xlc? Is there something like a -c99 parameter?