[aspectc-user] How can I use ac++ together with g++ 3.x?

Mariano Ceccato ceccato at itc.it
Tue Jul 19 10:06:36 CEST 2005


Olaf,

is there a public list of the c++ language features not supported by 
aspectc++?
If there is, I could think of writing a patcher, i.e. something that 
automaticly changes those points in my c++ large project that are not 
supported by the ac++ parser.

Regards,
Mariano

Olaf Spinczyk wrote:

> Hi,
>
> Mariano Ceccato wrote:
>
>> I've several problems while compiling a real existing c++ project 
>> with ag++.
>> To do that I simply changed the makefile, I replaced the "g++" 
>> compiler by "ag++", but this doesn't work.
>>
>> In the fourth FAQ in the aspectc website I found something that can 
>> be useful for me.
>> There, you say that ag++ supports only the g++ 2.95 header files and 
>> you suggest to use them in order to compile the project.
>> How can I change the header file directory?
>> Is that solution working out-of-the-box, or does it require some 
>> manual adjustments?
>>
>> Many regards,
>> Mariano
>
>
> forget this FAQ #4. I'll remove it in a few minutes, because it is not 
> true anymore. ac++ does not parse g++ 2.95 code better than g++ 3.x 
> code. Using g++ 3.x is recommended.
>
> As I wrote a few days ago on this list, applying ac++ for weaving in 
> existing real-world projects in most cases causes trouble at the 
> beginning, e.g. parse errors. The problems have to be eliminated step 
> by step. Normally, there are only a few problems, which occur at many 
> places. Therefore, the error list might by overwhelming. However, with 
> some patience it usually works at the end. I'll try to help you.
>
> Best regards,
>
> Olaf
>




More information about the aspectc-user mailing list