[ofa-general] PATCH[1/6] Windows port of libibmad - mad.h

Sean Hefty sean.hefty at intel.com
Tue Dec 23 22:20:20 PST 2008


>> >Windows don't like "inline"?
>>
>> The compiler doesn't allow it in the header file.
>
>Not even static inline? Inline functions in header should all be
>static inline or extern inline to avoid comdefs..

I'm wrong.  I thought this was the problem, but it's more likely that the issue
was that the _set_field type calls weren't exported.  So trying to make
mad_set_field inline failed, since all it did was call _set_field.

- Sean




More information about the general mailing list