This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nicholas.riley
Recipients ned.deily, nicholas.riley, ronaldoussoren, ssteinerX
Date 2011-03-14.01:21:40
SpamBayes Score 1.3359531e-07
Marked as misclassified No
Message-id <1300065701.54.0.326407181249.issue7679@psf.upfronthosting.co.za>
In-reply-to
Content
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...
History
Date User Action Args
2011-03-14 01:21:41nicholas.rileysetrecipients: + nicholas.riley, ronaldoussoren, ned.deily, ssteinerX
2011-03-14 01:21:41nicholas.rileysetmessageid: <1300065701.54.0.326407181249.issue7679@psf.upfronthosting.co.za>
2011-03-14 01:21:40nicholas.rileylinkissue7679 messages
2011-03-14 01:21:40nicholas.rileycreate