axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa_abeysin...@yahoo.com>
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))
#else
#define AXISCALL __stdcall
#endif

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))
to
#define AXISCALL __attribute__((cdecl))
in cvs code?
(this will minimize trouble when switching platforms)

Thanks,
Samisa...


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

Mime
View raw message