[aspectc-user] template matching

Tiago Rodrigues omicronix at gmail.com
Tue Mar 22 02:22:08 CET 2005

i know full template matching is a recently added functionality but i
can't seam to put it to work.

my template matching advices get parsed but don't get applied to the templates.
I know i'm supose to pass --real_instances to ag++ to get full
template parsing but this option doesn't seam to be understood by
ac++, here is what i get:

#: ag++ --real_instances some_source.cpp
error: Execution failed: "ac++" --config "puma.config" 
--real_instances -p. -c "teste.cpp" -o "teste.acc"

i 've seen someone talk about an alternative flag --real-instances but
this one gets passed right to gcc

#: ag++ --real-instances some_source.cpp
error: Execution failed: "g++"  --real-instances -E -dM -v -x c++
"/dev/null" 2>.err.out 1>.std.out

what am i doing wrong?
i have version 0.9.2, and gcc 3.4.3.
any help would be apreciated.

thanks in advance,
Tiago R.

More information about the aspectc-user mailing list