We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 97

Summary: setAppleMenu method on newer OS X SDK
Product: SDL Reporter: Ryan C. Gordon <icculus>
Component: mainAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: max
Version: HG 1.2   
Hardware: PowerPC   
OS: Mac OS X (All)   
Attachments: Fix warnings in SDLMain.m

Description Ryan C. Gordon 2006-01-27 10:53:55 UTC
Compiler warning on the Intel iMacs...

macosx/SDLMain.m: In function '-[SDLMain setupWorkingDirectory:]':
macosx/SDLMain.m:85: warning: pointer targets in passing argument 3 of 'CFURLGetFileSystemRepresentation' differ in signedness
macosx/SDLMain.m: In function 'setApplicationMenu':
macosx/SDLMain.m:158: warning: no '-setAppleMenu:' method found
macosx/SDLMain.m:158: warning: (Messages without a matching method signature
macosx/SDLMain.m:158: warning: will be assumed to return 'id' and accept
macosx/SDLMain.m:158: warning: '...' as arguments.)


--ryan.
Comment 1 Ryan C. Gordon 2006-01-27 11:23:28 UTC
Setting Sam as "QA Contact" on all bugs (even resolved ones) so he'll definitely be in the loop to any further discussion here about SDL.

--ryan.

Comment 2 Max Horn 2006-03-22 13:10:38 UTC
Created attachment 91 [details]
Fix warnings in SDLMain.m

See here for a discussion about the "setAppleMenu" warning: <http://www.allegro.cc/forums/thread/497928>.

The attached patch fixes all warning.
Comment 3 Ryan C. Gordon 2006-03-22 17:33:37 UTC
Patch is now in CVS, thanks!

--ryan.