[aspectc-user] cannot compile from source codes

zhenr_ya at encs.concordia.ca zhenr_ya at encs.concordia.ca
Tue Apr 17 17:43:50 CEST 2007


Hi,
I was trying to compile AC from source codes (ac-woven-1.0pre3) with 
g++ 4.1.2. The build of Puma failed with the following error messages. 
Can somebody figure out what is wrong?

Compiling ExtACTree.cc...
/home/terry/AspectCppSrcCode/ac-woven-1.0pre3/Puma/gen-release/step1/inc/Puma/PtrStack.h: In member function ?void Puma::PtrStack<T>::Destroy() [with T = 
Puma::CTree]?:
/home/terry/AspectCppSrcCode/ac-woven-1.0pre3/Puma/gen-release/step1/inc/Puma/Builder.h:97:   instantiated from 
here
/home/terry/AspectCppSrcCode/ac-woven-1.0pre3/Puma/gen-release/step1/inc/Puma/PtrStack.h:152: error: invalid conversion from ?long int? to ?const 
char*?
/home/terry/AspectCppSrcCode/ac-woven-1.0pre3/Puma/gen-release/step1/inc/Puma/PtrStack.h:152: error:   initializing argument 1 of ?int remove(const 
char*)?
/home/terry/AspectCppSrcCode/ac-woven-1.0pre3/Puma/gen-release/step1/inc/Puma/PtrStack.h: In member function ?void Puma::PtrStack<T>::Remove() [with T = 
Puma::CTree]?:
/home/terry/AspectCppSrcCode/ac-woven-1.0pre3/Puma/gen-release/step1/inc/Puma/PtrStack.h:144:   instantiated from ?void Puma::PtrStack<T>::Reject() [with T = 
Puma::CTree]?
/home/terry/AspectCppSrcCode/ac-woven-1.0pre3/Puma/gen-release/step1/inc/Puma/Builder.h:96:   instantiated from 
here
/home/terry/AspectCppSrcCode/ac-woven-1.0pre3/Puma/gen-release/step1/inc/Puma/PtrStack.h:159: error: invalid conversion from ?long int? to ?const 
char*?
/home/terry/AspectCppSrcCode/ac-woven-1.0pre3/Puma/gen-release/step1/inc/Puma/PtrStack.h:159: error:   initializing argument 1 of ?int remove(const 
char*)?
make[2]: *** 
[/home/terry/AspectCppSrcCode/ac-woven-1.0pre3/Puma/gen-release/obj-linux/ExtACTree.o] Error 
1
make[1]: *** [step3] Error 2
make: *** [src] Error 2

-Terry




More information about the aspectc-user mailing list