a newer version of GCC in an old version of XCode

a newer version of GCC in an old version of XCode

mmphosis's picture

Re: a newer version of GCC in an old version of XCode

This little note of wisdom helped...

Quote:

If you are trying to compile something in xcode, and your project has files that are named the same as system files, like math.h, and you have problems with xcode including your math.h, even when you use #include <math.h> instead of “math.h”, then you have come to the right place.
You’d think you just need to uncheck ALWAYS_SEARCH_USER_PATHS, but no, because magical .hmap files will apparently still map math.h to your math.h no matter what you do.

No, the fix is to add a a user defined setting to your target:

USE_HEADERMAP = NO

XCode Header Map Files (2010) (meidell.dk)