Unable to compile after moving from XCode 2.1 to 2.2 because of "__DARWIN_LDBL_COMPAT"
Unable to compile after moving from XCode 2.1 to 2.2 because of "__DARWIN_LDBL_COMPAT"
- Subject: Unable to compile after moving from XCode 2.1 to 2.2 because of "__DARWIN_LDBL_COMPAT"
- From: Dieter Oberkofler <email@hidden>
- Date: Tue, 7 Mar 2006 20:31:39 +0100
Hi,
I'm trying to move from XCode 2.1 to XCode 2.2 and am now stuck with
a problem when including some standard c header files.
When including stdlib.h, I get an error message when compiling the
following line: "long double strtold(const char *, char **)
__DARWIN_LDBL_COMPAT(strtold);".
The precompiler compiles it into a "long double strtold(const char *,
char **) ("_" "strtold" "$LDBLStub");" and returns the error message
"'long double strtold(const char*, char**)' is initialized like a
variable". I guess it has something to do with the
__DARWIN_LDBL_COMPAT tag but I cannot figure out what is wrong.
I have currently unset the SDK Path and the Mac OS X Deployment
Target is set to "compiler default" but would actually like to target
10.2 and above.
Any help is really appreciated!
-Dieter
_______________________________________________
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