axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <>
Subject AXISCALL problem
Date Fri, 04 Jun 2004 05:23:21 GMT
Hi All,

In GDefine.h AXISCALL is defined as follows:

#if defined(__GNUC__)
#define AXISCALL __attribute__((stdcall))
#define AXISCALL __stdcall

However on Redhat Advanced Server stdcall calling convention gives compilation problems.

if I change it to 
#define AXISCALL __attribute__((cdecl))
it works.

Is there any perticular reason to use 'stdcall'? 
I tried 'cdecl' with other linux platforms apart from RH AS and it seem to work.

Will there be any problems if I change 
#define AXISCALL __attribute__((stdcall))
#define AXISCALL __attribute__((cdecl))
in cvs code?
(this will minimize trouble when switching platforms)


Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger. 

View raw message