[LLVMdev] Headers & Libraries

Chris Lattner sabre at nondot.org
Fri Nov 14 12:10:01 PST 2003


On Fri, 14 Nov 2003, Alkis Evlogimenos wrote:

> #include "" should only be used when headers are specified using relative
> paths. In our case the majority of header inclusions (if not all) use
> relative paths so we may want to consider either converting all our #include
> "" to #include <> or change header file inclusions to use relative paths. I
> don't see any advantages of one over the other but what we have today is not
> strictly correct :-)

#include <> is for system headers:
http://gcc.gnu.org/onlinedocs/cpp/Include-Syntax.html#Include%20Syntax

While LLVM is slowly moving that direction, we are not yet considered to
be required by the "system".

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/




More information about the llvm-dev mailing list