[openib-general] [PATCH 1/4] osm: TRIVIAL - making comparison functions static (fat-tree routing)

Sasha Khapyorsky sashak at voltaire.com
Tue Jan 2 08:54:36 PST 2007


On 18:18 Tue 02 Jan     , Yevgeny Kliteynik wrote:
> Sasha Khapyorsky wrote:
> > Hi Yevgeny,
> > 
> > On 15:30 Mon 01 Jan     , Yevgeny Kliteynik wrote:
> >> Making two comparison functions in ftree static.
> > 
> > Good.
> > 
> > Any news about OSM_CDECL/__cdecl emilination?
> 
> Here's what I know by now:
> __cdecl is default on windows, but osm is compiled with a flag
> that makes __stdcall default (there are some problems linking
> osm to other libraries without this flag),

Which problems? Isn't it better to solve those problems instead of such
strange workaround as putting __cdecl/__stdcall attribution in the common
code?

> so OSM_CDECL is gonna 
> stay. One thing I do need to check is removing the __stdcall 
> and trying to recompile everything to see if the __stdcall
> is still needed. 

Thanks.

Sasha




More information about the general mailing list