[aspectc-user] weaving twice
Olaf.Spinczyk at informatik.uni-erlangen.de
Tue Oct 23 18:02:17 CEST 2007
this should be possible. Make sure that you treat library and
application as separate "projects" (-> see -p option) and generate
transformed header files of the library for your application (-> see -i
Let's assume you have two directories "app" and "lib" for your
application source code and your library source code.
1. translate your library with "-p lib"
2. generate tranformed header files with "-p lib -d lib-inc -i"
3. compile the application with "-p app" and use "-I lib-inc"
Did you already try it that way?
Francisco Afonso wrote:
> Is it possible to use AspectC++ to weave an API, then create a library, and finally weave an application code that uses this library?
> In my program I am receiving a "segmentation fault" when running acc++.
> I think that the problem happens because the second weaving needs to use the include files from the library, which had been changed by acc++ previously.
> Am I right ?
> Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power.
> aspectc-user mailing list
> aspectc-user at aspectc.org
More information about the aspectc-user