[cfe-dev] Disable #error?

Jacob Carlborg doob at me.com
Fri Jan 24 06:19:06 PST 2014


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?

-- 
/Jacob Carlborg




More information about the cfe-dev mailing list