Re: Can't get Xcode to include correct string.h
Re: Can't get Xcode to include correct string.h
- Subject: Re: Can't get Xcode to include correct string.h
- From: Rick Mann <email@hidden>
- Date: Fri, 9 Oct 2009 18:36:14 -0700
Do you mean "Add user-defined setting" of USE_HEADERMAP? I did this,
and it seemed to have no effect.
On Oct 9, 2009, at 18:15:26, Chris Espinosa wrote:
Create a custom build USE_HEADERMAP and set its value to NO.
Xcode builds a mapping structure to speed up header searches in gcc,
but it assumes unique names.
Chris
On Oct 9, 2009, at 4:40 PM, Rick Mann <email@hidden> wrote:
Our stupid code base has a bunch of versions of string.h. However,
in my Xcode project I'm including <string.h>. The project is set to
search standard system header paths (10.5 SDK), and it has some
user search paths that cover the directories with our internal
string.h. The setting to always search user paths is off (in both
target and project). Yet, it still finds the user one, and not the
system one.
What am I doing wrong?
Here's the invocation:
/Developer/usr/bin/gcc-4.2
-x c++
-arch i386
-fmessage-length=0
-pipe
-Wno-trigraphs
-fpascal-strings
-fasm-blocks
-O0
-Wreturn-type
-Wunused-variable
-D_MACOSX_
-isysroot /Developer/SDKs/MacOSX10.5.sdk
-mfix-and-continue
-fvisibility-inlines-hidden
-mmacosx-version-min=10.5
-gdwarf-2
-iquote /Users/rmann/Company/depot/mdmc2/desktop/esp/ParserTest/
build/ParserTest.build/Debug/ParserTest.build/ParserTest-generated-
files.hmap
-I/Users/rmann/Company/depot/mdmc2/desktop/esp/ParserTest/build/
ParserTest.build/Debug/ParserTest.build/ParserTest-own-target-
headers.hmap
-I/Users/rmann/Company/depot/mdmc2/desktop/esp/ParserTest/build/
ParserTest.build/Debug/ParserTest.build/ParserTest-all-target-
headers.hmap
-iquote /Users/rmann/Company/depot/mdmc2/desktop/esp/ParserTest/
build/ParserTest.build/Debug/ParserTest.build/ParserTest-project-
headers.hmap
-F/Users/rmann/Company/depot/mdmc2/desktop/esp/ParserTest/build/Debug
-I/Users/rmann/Company/depot/mdmc2/desktop/esp/ParserTest/build/
Debug/include
-I../../include
-I../../include/curl
-I../../include/default_version
-I../../include/stdlib
-I/Users/rmann/Company/depot/mdmc2/desktop/esp/ParserTest/../../../
include
-I/Users/rmann/Company/depot/mdmc2/desktop/esp/ParserTest/../../osx/
include
-I/Users/rmann/Company/depot/mdmc2/desktop/esp/ParserTest/build/
ParserTest.build/Debug/ParserTest.build/DerivedSources/i386
-I/Users/rmann/Company/depot/mdmc2/desktop/esp/ParserTest/build/
ParserTest.build/Debug/ParserTest.build/DerivedSources
-include /var/folders/VT/VTtKCduZGsm7vgkK2nQztU+++TI/-Caches-/
com.apple.Xcode.501/SharedPrecompiledHeaders/ParserTest_Prefix-
fqnndvcqvtyboyeokapnxcmmrkct/ParserTest_Prefix.pch
-c /Users/rmann/Company/depot/mdmc2/desktop/esp/ParserTest/../../
expat/expat_itunes_xml_parser.cpp
-o /Users/rmann/Company/depot/mdmc2/desktop/esp/ParserTest/build/
ParserTest.build/Debug/ParserTest.build/Objects-normal/i386/
expat_itunes_xml_parser.o
TIA!
Rick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden