Re: Has anyone run a build with xcode and C++ STL on 10.2
Re: Has anyone run a build with xcode and C++ STL on 10.2
- Subject: Re: Has anyone run a build with xcode and C++ STL on 10.2
- From: Kevin Grant <email@hidden>
- Date: Sun, 1 Feb 2004 13:28:21 -0600
As I mentioned in the earlier message, if you want code to run on
10.2 and later, you need to use the 10.2.x SDK in your Project
Settings. The 10.3 headers use features of the 10.3 runtime that are
incompatible with older versions of Mac OS X.
I take it then that one cannot build a C++/STL application that on the
one hand runs on 10.2 or later, and on the other also conditionally
calls Panther APIs (HIViewLayout for example) ?
This is a major reason to *not* migrate to Xcode, in my opinion.
I have successfully done this, although I don't use wchar_t and I will
concede that it is tricky.
Basically I have to work around the fact that the SDK lacks
declarations for all new APIs, so I am inserting raw values for things
that would otherwise have nice constants declared; and (in my case) I
am also manually loading APIs because weak linking is not supported on
10.1.
So, it's doable and not that much of a problem, but certainly not
ideal...
Kevin G.
http://homepage.mac.com/kmg/
mail to kevin at ieee dot org
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.