Re: [cfe-users] Avoid all system include paths

2016-11-13 Thread Emilio Pombo via cfe-users
On Fri, Nov 11, 2016 at 3:08 PM, Douglas Katzman wrote: > Remove '-nobuiltininc' and substitute '-nostdinc'. That's in addition to > '-nostdinc++' > Great answer Duglas, thank you very much, it has done perfectly for my proposes... On my free time I'm working on a tool based on libclang to prov

Re: [cfe-users] Avoid all system include paths

2016-11-11 Thread Douglas Katzman via cfe-users
Remove '-nobuiltininc' and substitute '-nostdinc'. That's in addition to '-nostdinc++' On Fri, Nov 11, 2016 at 11:00 AM, Emilio Pombo via cfe-users < cfe-users@lists.llvm.org> wrote: > Hi, > > I want to make clang parser to avoid all default and builtin include path > in my system (Ubuntu 14.04.

[cfe-users] Avoid all system include paths

2016-11-11 Thread Emilio Pombo via cfe-users
Hi, I want to make clang parser to avoid all default and builtin include path in my system (Ubuntu 14.04.5 LTS) for lib C and C++ stl (GNU, LLVM or whatever). I'm using the two most canonical options for doing that (I think): -*nobuiltininc* and -*nostdinc++*, also tried to change some roots or pr