<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi!<br>
<br>
The "correct way" is to use pairwise -p and -d options. For each source
directory there has to be a separate target directory. It is not
intended that ag++ or ac++ are used to merge files from separate
directories into a common directory. You could do this in advance or
later with other commands.<br>
<br>
Best regards,<br>
<br>
Olaf<br>
<br>
<br>
On 04/20/2011 01:23 PM, Guilherme . wrote:
<blockquote
cite="mid:BANLkTim7D2YYVt73OOAhbpb4f6Dg_Omogw@mail.gmail.com"
type="cite">Hi!<br>
<br>
So this is neither a bug nor an unexpected usage as i gather from not
hearing anything.<br>
<br>
What is the correct way to do this then?<br>
<br>
Best regards,<br>
Guilherme<br>
<br>
<div class="gmail_quote">On Fri, Apr 15, 2011 at 4:46 PM, Guilherme .
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:guibufolo@gmail.com">guibufolo@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi!<br>
<br>
If you call ag++ with<br>
<br>
ag++ -i -p lvl1 -d . -p lvl2 -d . -c main.cpp -o main -v9<br>
<br>
you can see that on the second pass (with the -i option to ac++) it
does not pass all the -d arguments to ac++<br>
<br>
"ac++" --config "/tmp/agxx_pcfgX0ag1I" -p "lvl1" -p "lvl2" -v9 -i -d
"."<br>
<br>
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.)<br>
<br>
Calling ac++ with<br>
<br>
"ac++" --config "/tmp/agxx_pcfgX0ag1I" -p "lvl1" -d "." -p "lvl2"
-d"." -v9 -i<br>
<br>
on the other hand produces the expected results.<br>
<br>
Is this behaviour wanted? Am i missing something from the documentation?<br>
<br>
<br>
Best regards,<br>
<font color="#888888">Guilherme<br>
</font></blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
aspectc-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:aspectc-user@aspectc.org">aspectc-user@aspectc.org</a>
<a class="moz-txt-link-freetext" href="http://www.aspectc.org/mailman/listinfo/aspectc-user">http://www.aspectc.org/mailman/listinfo/aspectc-user</a>
</pre>
</blockquote>
<br>
</body>
</html>