• 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: std::log10() problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: std::log10() problem


  • Subject: Re: std::log10() problem
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 30 Mar 2006 14:45:36 -0800

On Mar 30, 2006, at 2:27 PM, Dirk Stegemann wrote:


Am 30.03.2006 um 19:24 schrieb Chris Espinosa:

On Mar 30, 2006, at 6:33 AM, Clark Cox wrote:

So, let me check my understanding. If, for instance, I build something
using the 10.4 SDK, but I set the deployment version to 10.2, then my
app will be able to access the newer symbols in 10.4, but those
symbols will be NULL when my app is running on 10.2 or 10.3.


But, if on the other hand, I build using the 10.2 SDK, then I simply
won't have access to symbols introduced in 10.3 and 10.4.

Am I understanding this correctly?

Absolutely right.

Is "won't have access to symbols" true because the compiler doesn't know about these newer symbols due to missing headers at compile time (could be fixed by manually adding the prototypes in question), or due to some architectual reasons...?

The compiler will not see the header files that define the entry point, because it's only looking at the headers in the SDK. The linker will not link against the entry points, even if you define them yourselves.


If you manually add the prototypes, then call them, the link will fail. That is, unless you add the prototypes and conditionally define them weak. In which case you've just ended up doing what the SDK does.

Chris

_______________________________________________
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


  • Follow-Ups:
    • Re: std::log10() problem
      • From: j o a r <email@hidden>
References: 
 >std::log10() problem (From: Rolf Nilsson <email@hidden>)
 >Re: std::log10() problem (From: "Clark Cox" <email@hidden>)
 >Re: std::log10() problem (From: "Roni Music" <email@hidden>)
 >Re: std::log10() problem (From: "Clark Cox" <email@hidden>)
 >Re: std::log10() problem (From: j o a r <email@hidden>)
 >Re: std::log10() problem (From: Chris Espinosa <email@hidden>)
 >Re: std::log10() problem (From: "Clark Cox" <email@hidden>)
 >Re: std::log10() problem (From: Chris Espinosa <email@hidden>)
 >Re: std::log10() problem (From: "Clark Cox" <email@hidden>)
 >Re: std::log10() problem (From: Chris Espinosa <email@hidden>)
 >Re: std::log10() problem (From: Dirk Stegemann <email@hidden>)

  • Prev by Date: Re: std::log10() problem
  • Next by Date: Re: using namespace in xcode and dev-c++
  • Previous by thread: Re: std::log10() problem
  • Next by thread: Re: std::log10() problem
  • Index(es):
    • Date
    • Thread