You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Kapila Dissanayake <ka...@gmail.com> on 2005/10/22 03:44:47 UTC

[AXIS2] problem with macro AXIS2_DECLARE

Hi all

I tried to compile the util module using vc 6. It gives too many compile
errors because of the use of the macro AXIS2_DECLARE defied as:
#define AXIS2_DECLARE(type) AXIS2_IMPORT type AXIS2_CALL

When I change the macro definition to
#define AXIS2_DECLARE(type) type

it compiles fine. Any thoughts please.

Thanks

Kapila

Re: [AXIS2] problem with macro AXIS2_DECLARE

Posted by Samisa Abeysinghe <sa...@gmail.com>.
Samisa Abeysinghe wrote:

> Kapila Dissanayake wrote:
>
>> Hi all
>>
>> I tried to compile the util module using vc 6. It gives too many 
>> compile errors because of the use of the macro AXIS2_DECLARE defied as:
>> #define AXIS2_DECLARE(type)            AXIS2_IMPORT type AXIS2_CALL
>>
>> When I change the macro definition to  #define 
>> AXIS2_DECLARE(type)            type
>>
>> it compiles fine. Any thoughts please.
>>
> Ooops, looks like we have trouble with the calling convention and dll 
> import :(

There seems to be a problem in the way we have used the DECLARE in case 
of function pointers. Got to fix this.


>
>
>> Thanks
>>
>> Kapila
>>
>
>


Re: [AXIS2] problem with macro AXIS2_DECLARE

Posted by Samisa Abeysinghe <sa...@gmail.com>.
Kapila Dissanayake wrote:

> Hi all
>
> I tried to compile the util module using vc 6. It gives too many 
> compile errors because of the use of the macro AXIS2_DECLARE defied as:
> #define AXIS2_DECLARE(type)            AXIS2_IMPORT type AXIS2_CALL
>
> When I change the macro definition to  
> #define AXIS2_DECLARE(type)            type
>
> it compiles fine. Any thoughts please.
>
Ooops, looks like we have trouble with the calling convention and dll 
import :(

> Thanks
>
> Kapila
>