Re: [AD] [ alleg-Bugs-2380931 ] Deprecation warnings (OS X)

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


I tried to add an attachment to this but I couldn't. I can add them to
bugs I created myself. Is this the way it's supposed to work - seems a
bit odd if the only bugs I'm allowed to fix are the ones I reported.

Pete


On Wed, Dec 3, 2008 at 2:40 AM, SourceForge.net <noreply@xxxxxxxxxx> wrote:
> Bugs item #2380931, was opened at 2008-12-03 03:39
> Message generated for change (Settings changed) made by eglebbk
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2380931&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: Deprecation warnings (OS X)
>
> Initial Comment:
> When compiling src/macosx/main.m and src/macosx/hidman.m, a warning similar to this one is generated:
>
> warning: 'lossyCString' is deprecated (declared at /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:346)
>
> This is apparently deprecated from 10.4 onward. At the moment, Allegro supports 10.3+. There are two alternatives listed on http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/DeprecationAppendix/AppendixADeprecatedAPI.html#//apple_ref/occ/instm/NSString/lossyCString:
> cStringUsingEncoding (10.4+)
> dataUsingEncoding:allowLossyConversion (10.0+)
> The former seems easier to work with, but we'd then need to keep the call to lossyCString for 10.3.
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2380931&group_id=5665
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers




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