[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-dev
Subject:    Re: [cfe-dev] Disable #error?
From:       Sean Silva <silvas () purdue ! edu>
Date:       2014-01-25 1:22:11
Message-ID: CAHnXoa=wrOQBdFfep1Y_O2xpJz0-S7FUOkUuR0so1RRjYNL79A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Fri, Jan 24, 2014 at 9:19 AM, Jacob Carlborg <doob@me.com> wrote:

> On 2014-01-23 21:11, Sean Silva wrote:
>
>  There is no main_preprocessed.h as far as clang is concerned (unless you
>> manually create it, but then clang leaves #line's to keep track of where
>> things are from).
>>
>
> I was just for illustration.
>
>  If you look at the SourceLocation for `struct List`, it will tell you
>> that the declaration is in
>> `/home/foo/libcollection/__include/collection/list/list.h`.
>>
>
> I seem to have very hard time to explain myself here. Perhaps I'm missing
> something obvious here but how do I know that "/home/foo/libcollection/
> include/collection/list/list.h" is not in the in the "/home/foo/libmain"
> path?


Because then it would start with "/home/foo/libmain" instead of
"/home/foo/libcollection" ;)

-- Sean Silva


>
>
> --
> /Jacob Carlborg
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev@cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>

[Attachment #5 (text/html)]

<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, \
Jan 24, 2014 at 9:19 AM, Jacob Carlborg <span dir="ltr">&lt;<a \
href="mailto:doob@me.com" target="_blank">doob@me.com</a>&gt;</span> wrote:<br> \
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div class="im">On 2014-01-23 21:11, Sean Silva wrote:<br> \
<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> There is no main_preprocessed.h as far as clang is concerned \
(unless you<br> manually create it, but then clang leaves #line&#39;s to keep track \
of where<br> things are from).<br>
</blockquote>
<br></div>
I was just for illustration.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div class="im"> If you look at the SourceLocation for \
`struct List`, it will tell you<br> that the declaration is in<br></div>
`/home/foo/libcollection/__<u></u>include/collection/list/list.<u></u>h`.<br>
</blockquote>
<br>
I seem to have very hard time to explain myself here. Perhaps I&#39;m missing \
something obvious here but how do I know that \
&quot;/home/foo/libcollection/<u></u>include/collection/list/list.<u></u>h&quot; is \
not in the in the &quot;/home/foo/libmain&quot; path?</blockquote> \
<div><br></div><div>Because then it would start with &quot;/home/foo/libmain&quot; \
instead of &quot;/home/foo/libcollection&quot; ;)</div><div><br></div><div>-- Sean \
Silva</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"> <div class="HOEnZb"><div \
class="h5"><br> <br>
-- <br>
/Jacob Carlborg<br>
<br>
______________________________<u></u>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" \
target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/cfe-dev</a><br> \
</div></div></blockquote></div><br></div></div>



_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic