• 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
include_next? (repost)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

include_next? (repost)


  • Subject: include_next? (repost)
  • From: Steve Mills <email@hidden>
  • Date: Mon, 9 Jan 2006 09:46:22 -0600

I've just configured our main project and all the 3rd party
subprojects so they will be able to build Universal Binaries. As the
documentation instructs, I've added these to all build settings for
the Release configuration (renamed from Deployment):

MACOSX_DEPLOYMENT_TARGET_i386 = 10.4
MACOSX_DEPLOYMENT_TARGET_ppc = 10.3
SDKROOT_i386 = /Developer/SDKs/MacOSX10.4.0.sdk
SDKROOT_ppc = /Developer/SDKs/MacOSX10.3.9.sdk

Building i386 will use 10.4, but we still want to target 10.3.9 for
the ppc builds. In the General pane, I've left the cross development
SDK set to the 10.3.9.sdk. This setting is overridden by the
SDKROOT_* settings, correct?

When building with the Release configuration I'm getting some errors
that stdarg.h and float.h can not be found. Xcode finds stdarg.h in
10.4.0.sdk/user/include, and that file contains this:

#if defined(__GNUC__)
#include_next <stdarg.h>

The error is that it can't find stdarg.h. Same for float.h. First
off, what is include_next? I've never seen it before. From it's name
it sounds like it tries to find the named file further up the header
search paths list from where it found the current file, or something
goofy like that.

So how do I fix this?

(This is the first time any of these projects have used the 10.4.0.sdk, as we normally target the 10.3.9.sdk.)

Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/


_______________________________________________ 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
  • Prev by Date: Re: OT: Virtual PC 7 / Visual Studio 2003
  • Next by Date: Class Browser with Ruby
  • Previous by thread: Re: OT: Virtual PC 7 / Visual Studio 2003
  • Next by thread: Class Browser with Ruby
  • Index(es):
    • Date
    • Thread