iDevGames Forums
Intel Mac -> Many Warnings (deprecated functions) - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Programming Fundamentals (/forum-7.html)
+--- Thread: Intel Mac -> Many Warnings (deprecated functions) (/thread-3909.html)



Intel Mac -> Many Warnings (deprecated functions) - dave05 - Sep 6, 2006 12:30 PM

hey everyone.

I'm still working on a game in Carbon, and I recently upgraded my computer to an Intel iMac. I was under the impression that my code was already "universal," but compiling my code resulted in 40 warnings. Anyways, all my future projects will be in Cocoa, and my plan is to ignore the warnings. There doesn't seem to be an actual problem when executing the application.

[Image: picture3qa3.png]


Intel Mac -> Many Warnings (deprecated functions) - Taxxodium - Sep 6, 2006 12:55 PM

You should use the functions provided by CFString and CFNumber.


Intel Mac -> Many Warnings (deprecated functions) - OneSadCookie - Sep 6, 2006 01:36 PM

These functions are deprecated in 10.4, even on PowerPC. You won't see the warnings unless you tell Xcode that your minimum required OS is 10.4, though, which is the default on Intel ('cos there is no 10.3), but not on PowerPC.

You can continue to use these functions, but won't be able to build a 64-bit binary if you do.


Intel Mac -> Many Warnings (deprecated functions) - aarku - Sep 6, 2006 03:19 PM

For hiding and showing the cursor, you want the CoreGraphics calls:

Code:
CGDisplayErr CGDisplayHideCursor(
    CGDirectDisplayID display);
CGDisplayErr CGDisplayShowCursor(
    CGDirectDisplayID display);
http://developer.apple.com/technotes/tn/tn2007.html#Section10

-Jon