Re: pragma nowarn
Re: pragma nowarn
- Subject: Re: pragma nowarn
- From: Alastair Houghton <email@hidden>
- Date: Wed, 12 Dec 2007 13:39:14 +0000
On 12 Dec 2007, at 13:08, William Bates wrote:
and don't get me started on "depreciated" warnings, when there is no
longer an alternative to the depreciated construct. Try generating a
drag in Carbon without using a QuickTime region (there is one way,
can you find it?)....
I think you mean "deprecated", not "depreciated", and "QuickDraw
region" rather than "QuickTime region".
I'm assuming therefore that you're referring to the deprecation of
SetDragImage() on Tiger? If you look it up in the docs, you'll find
that it says "Deprecated in Mac OS X 10.4. Use SetDragImageWithCGImage
instead.", which seems clear enough to me, and since the latter is
available from 10.2 onwards, I fail to see the problem.
I am aware that there are a couple of things that have now been
deprecated for which there is presently no adequate replacement. Some
of the historic dyld APIs, for instance, which have been deprecated in
favour of the dlopen() family of APIs, provided features that aren't
presently available via dlopen() et al.
If you're using something that's deprecated and that really has no
replacement, it's a bit frustrating perhaps that you can't easily turn
this off (short of building with an earlier SDK or obtaining the API's
function pointer and calling through that instead). There are very
few examples of that though, I think, and if you do hit one it's
probably a very good idea to consider what you're going to do if
support for that API is dropped altogether in future.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
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