[aspectc-user] weaving twice
    Francisco Afonso 
    afonsofc at hotmail.com
       
    Wed Jul  9 11:11:13 CEST 2008
    
    
  
Hi,
This message follows a January/2008 thread:
http://p15111082.pureserver.info/pipermail/aspectc-user/2008-January/001227.html
I tried again with the svn version of July 8th (1.0pre4).
Now I don´t get a segmentation fault, but there is still an error:
-----------------------------------------------------------------
[fafonso at pc-fca-at-g weavetwice]$ ./weave2b
* Running ac++ 1.0pre4 svn
* Simple Dependency Check
* Handling Translation Unit `main.cc'.
 - Path "app/main.cc"
 - Inserting namespace AC
 - Parsing ...
lib-inc/classA.h:82: error: invalid declaration near token `template'
lib-inc/exec.ah:135: error: invalid declaration near token `template'
 - Aborting
******* classA.h **************
78 #ifndef __ac_fwd_myAspect__
79 #define __ac_fwd_myAspect__
80 class myAspect;
81 namespace AC {
82   template <class JoinPoint>
83   __attribute((always_inline)) inline void 
invoke_myAspect_myAspect_a0_before ();
84 }
85 #endif
******* exec.ah **************
134  namespace AC {
135    template <class JoinPoint>
136     __attribute((always_inline)) inline void 
invoke_myAspect_myAspect_a0_before () {
137      ::myAspect::aspectof()->template __a0_before<JoinPoint> ();
138    }
139  }
-------------------------------------------------------
However, it works if the first weaving (the library) is performed with version 
1.0pre3 and the second (the application) is performed with the last svn 
version.
Cheers,
Francisco Afonso
_________________________________________________________________
The i’m Talkaton. Can 30-days of conversation change the world?
http://www.imtalkathon.com/?source=EML_WLH_Talkathon_ChangeWorld
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20080709/c5ec1919/attachment.html>
    
    
More information about the aspectc-user
mailing list