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

Guilherme . guibufolo at gmail.com
Wed Apr 20 13:23:22 CEST 2011


Hi!

So this is neither a bug nor an unexpected usage as i gather from not
hearing anything.

What is the correct way to do this then?

Best regards,
Guilherme

On Fri, Apr 15, 2011 at 4:46 PM, Guilherme . <guibufolo at gmail.com> wrote:

> Hi!
>
> 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
> exist.)
>
> 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,
> Guilherme
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20110420/68ae3eb1/attachment.html>


More information about the aspectc-user mailing list