• 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
Unable to compile after moving from XCode 2.1 to 2.2 because of "__DARWIN_LDBL_COMPAT"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: XCode auto-creates Japanese.lproj?
  • Next by Date: Re: XCode auto-creates Japanese.lproj?
  • Previous by thread: Re: Universal binary problem: ... cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
  • Next by thread: [Meet] Next Seattle XCoders meeting, Thursday, March 9th, 2006
  • Index(es):
    • Date
    • Thread