>Did he reimplement IBWARN, IBPANIC, and all the sys_read_* functions? I think
>those come from ibcommon and are used by the diags.
He added this to mad.h:
#if !defined(IBWARN)
#define IBWARN(fmt, ...) cl_msg_out(fmt, ## __VA_ARGS__)
#endif
#if !defined(IBPANIC)
#define IBPANIC(fmt, ...) \
{ \
cl_msg_out(fmt, ## __VA_ARGS__); \
CL_ASSERT(0); \
}
#endif
This allows libibcommon to exist on Linux, but eliminates it for Windows - for
the diags. (The diags don't use sys_read_*.) I think this implementation
requires a specific include order of header files though.
- Sean
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general