[aspectc-user] Compiling helloworld aspect C++ on Symbian
Marti Bayo-alemany
malemany at nero.com
Mon Sep 5 12:19:43 CEST 2005
Hi Olaf,
that with the ag++ worked really good.
It was actually an attribute ...
-D __declspec(x)=__attribute__((x))
best wishes,
Marti
----- Original Message -----
From: "Olaf Spinczyk" <Olaf.Spinczyk at informatik.uni-erlangen.de>
To: "Marti Bayo-alemany" <malemany at nero.com>
Cc: <aspectc-user at aspectc.org>
Sent: Friday, September 02, 2005 3:33 PM
Subject: Re: [aspectc-user] Compiling helloworld aspect C++ on Symbian
> Hi,
>
> Marti Bayo-alemany wrote:
>> It seems that Aspect C++ doesn't support __declspec(dllexport) which is
>> needed in order to get an application running on Symbian
>> #define *EXPORT_C* __declspec(dllexport)
>> EXPORT_C CApaApplication* NewApplication()
>> I get that ...
>> invalid declaration near token `dllexport'
>> I comment the EXPORT_C before ac++ and I added after EXPORT_C manually
>> to the file generated.
>
> you should try to generate your parser configuration file with
>
> ag++ -o <parser config file> --gen_config --c_compiler <your g++>
>
> I guess, that __declspec is predefined as __attribute__ by the symbian
> g++. Generating the config file will retrieve all the predefined macros
> and include files from g++.
>
>> The application compiles and it runs on the mobile phone.
>> However is still not doing what I am expecting but I am on the way.
>
> Fine, it seems that you have faster success than Bil one year ago.
>
> Best regards,
>
> Olaf
>
>
More information about the aspectc-user
mailing list