Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DisposeGWorld deprecated



If you do decide to use the deprecated technology, you could edit the header and remove the macro that's just after the function declaration so you don't get the error/warning. There are however downsides to this. One is that your project would get an error on systems without the modified header. Also, when you do stop using all deprecated functions all together you might not remember you did this.


HTH,
David Alger
On Mar 25, 2007, at 1:54 PM, Mark Allen wrote:

I am writing a QuickTime based application. I have to create an off-screen GWorld, and I use QTNewGWorldFromPtr for that. And I use DisposeGWorld when I am done with the GWorld.

But when compiling for Tiger I get a compiler warning saying that DisposeGWorld is deprecated. Fair enough, except I don't want compiler warnings. I am the type of person that compilers with warnings treated as errors.

So my question is this: 1) Is there a newer call to make other than DisposeGWorld which is not deprecated? Other than that, is there a way to temporarily turn off this warning around the call to DisposeGWorld and then turn it back on on the line afterwards?

Many thanks

Mark

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

--
David Alger,
Software Engineer
Family Friendly Software, LLC

Looking for a reliable, affordable, and customer oriented web host?
With BlueHost you get a FREE domain name and FREE setup plus a
first-class hosting package for ONLY $6.95 a month!
Signup here <http://www.bluehost.com/track/familyfr/>, and look no farther!


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >DisposeGWorld deprecated (From: Mark Allen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.