[AD] [ alleg-Bugs-2412929 ] One more deprecation warning on OS X

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Bugs item #2412929, was opened at 2008-12-10 03:15
Message generated for change (Settings changed) made by eglebbk
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2412929&group_id=5665

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Mac OSX
Group: 4.9
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Evert Glebbeek (eglebbk)
>Assigned to: Nobody/Anonymous (nobody)
Summary: One more deprecation warning on OS X

Initial Comment:
I stumbled onto the following warning:

/Users/eglebbk/Program/Allegro5/4.9/src/macosx/system.m: In function ‘_al_osx_bootstrap_ok’:
/Users/eglebbk/Program/Allegro5/4.9/src/macosx/system.m:126: warning: ‘bootstrap_register’ is deprecated (declared at /usr/include/servers/bootstrap.h:268)

This time I have no clue about what this code does or how to replace it, and google isn't very helpful.
Comments in the code talk about checking for a "dead bootstrap" where we can't use NSApplication. The only relevant data that turned up in google when looking for "dead bootstrap" and "NSApplication" was the original thread discussing the addition of this code on Acc.

Isn't there another way to test if NSApplication can be used? Shouldn't whatever creates the NSApplication object return NULL in case of failure?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2412929&group_id=5665




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/