On Thu, Oct 08, 2009 at 10:10:34AM -0700, Sean Hefty wrote:
> >X86 linkage requires __cdecl attribute on qsort() compare function 
> >definition;
> >matches Windows qsort() prototype.
> >Add existing OSM_CDECL to qsort() compare function defintions.
> >OSM_CDECL defined blank for Linux.
> 
> ibping also requires the use __cdecl.  So far, I've been maintaining
> that patch separately and applying it before updating the winof code
> base.  If multiple users of __cdecl are required, maybe we can find
> a common place for the definition.

I don't get it - how can an ISO C conforming compiler require a
non-standard declaration on the function argument to the ISO C
function qsort?

Has the default calling convention been changed for some reason?

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to