• 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
Re: Xcode 3.0 linking error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 3.0 linking error


  • Subject: Re: Xcode 3.0 linking error
  • From: Thomas Hauk <email@hidden>
  • Date: Fri, 7 Mar 2008 11:54:49 -0800

I figured it out. Here's the answer, in case it bites anyone else.

By default, a new Xcode 3.0 BSD static library project does not contain any preprocessor macros.

By default, a new Xcode 3.0 Carbon C++ Application project contains these preprocessor macros for the Debug config:

	_GLIBCXX_DEBUG=1 _GLIBCXX_DEBUG_PEDANTIC=1

Adding the macro "_GLIBCXX_DEBUG=1" to the lib project fixed the problem.

T

--
"Take it to the bridge!"
  -- James Brown

_______________________________________________
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


References: 
 >Xcode 3.0 linking error (From: Thomas Hauk <email@hidden>)

  • Prev by Date: Xcode Editor's Regex now uses PCRE instead of ICU?
  • Next by Date: Re: HELP! - Database questions
  • Previous by thread: Re: Xcode 3.0 linking error
  • Next by thread: Keeping Xcode up to date
  • Index(es):
    • Date
    • Thread