Message130782
You should be able to invoke the compiler like this:
gcc -nostdinc -I/usr/include -F/System/Library/Frameworks ...
which will remove /usr/local/include (and /Library/Frameworks). This also removes the compiler-specific include dir, so to be fully general you could postprocess $CC -v output to just filter /usr/local/include - it looks like the Clang driver is GCC-compatible as far as -v output goes.
And in general, I guess this is really an Apple bug... |
|
Date |
User |
Action |
Args |
2011-03-14 01:21:41 | nicholas.riley | set | recipients:
+ nicholas.riley, ronaldoussoren, ned.deily, ssteinerX |
2011-03-14 01:21:41 | nicholas.riley | set | messageid: <1300065701.54.0.326407181249.issue7679@psf.upfronthosting.co.za> |
2011-03-14 01:21:40 | nicholas.riley | link | issue7679 messages |
2011-03-14 01:21:40 | nicholas.riley | create | |
|