[aspectc-user] Multiple -p and -d to ag++ do not get passed to ac++

Guilherme . guibufolo at gmail.com
Fri Apr 15 16:46:58 CEST 2011


If you call ag++ with

ag++ -i -p lvl1 -d . -p lvl2 -d . -c main.cpp -o main -v9

you can see that on the second pass (with the -i option to ac++) it does not
pass all the -d arguments to ac++

"ac++" --config "/tmp/agxx_pcfgX0ag1I"  -p "lvl1"  -p "lvl2"  -v9 -i -d "."

this makes ac++ abort the compilation. (I do want all the includes for my
lib to land on the same directory. There are no name clashes and all -p dirs

Calling ac++ with

"ac++" --config "/tmp/agxx_pcfgX0ag1I"  -p "lvl1" -d "."  -p "lvl2" -d"."
-v9 -i

on the other hand produces the expected results.

Is this behaviour wanted? Am i missing something from the documentation?

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20110415/9c5aa762/attachment.html>

More information about the aspectc-user mailing list