include_next?
include_next?
- Subject: include_next?
- From: Steve Mills <email@hidden>
- Date: Tue, 10 Jan 2006 14:22:20 -0600
(OK, I'm going to try posting this a 3rd time. Perhaps nobody could
comment because discussion of this topic was somehow under NDA before
and now it isn't since Apple has announced Intel machines.)
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