• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Can't get Xcode to include correct string.h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't get Xcode to include correct string.h


  • Subject: Can't get Xcode to include correct string.h
  • From: Rick Mann <email@hidden>
  • Date: Fri, 9 Oct 2009 16:40:25 -0700

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


  • Follow-Ups:
    • Re: Can't get Xcode to include correct string.h
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: linking on OSX
  • Next by Date: Xcode 3.2 snaphots with code shared by multiple projects
  • Previous by thread: Re: [boost] linking on OSX
  • Next by thread: Re: Can't get Xcode to include correct string.h
  • Index(es):
    • Date
    • Thread