[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Warnings when compiling with clang
From: |
Fred Kiefer |
Subject: |
Re: Warnings when compiling with clang |
Date: |
Sun, 28 Jul 2013 15:10:38 +0200 |
Thank you for reporting these. I will fix them as soon as I am bavk on my
computer, which might take another day.
Fred
On the road
Am 28.07.2013 um 15:07 schrieb "Vincent R." <address@hidden>:
> Hi,
>
> In my journey to compile gnustep with clang I have noticed some warnings in
> back, so it might me interesting to have a look :
>
> This is gnustep-make 2.6.5. Type 'make print-gnustep-make-help' for help.
> Making all in Source ...
> Making all in subprojects of bundle libgnustep-back-023...
> Making all for subproject gsc...
> Compiling file gscolors.c ...
> Compiling file GSContext.m ...
> GSContext.m:190:9: warning: direct access to Objective-C's isa is deprecated
> in favor of object_getClass() [-Wdeprecated-objc-isa-usage]
> if (([isa handlesPS] == NO) && contextType
> ^
> /GNUstep/Local/Library/Headers/Foundation/NSObject.h:293:9: note: instance
> variable is declared here
> Class isa;
> ^
> GSContext.m:209:19: warning: direct access to Objective-C's isa is deprecated
> in favor of object_getClass() [-Wdeprecated-objc-isa-usage]
> gstate = [[[isa GStateClass] allocWithZone: z]
> ^
> /GNUstep/Local/Library/Headers/Foundation/NSObject.h:293:9: note: instance
> variable is declared here
> Class isa;
> ^
> GSContext.m:496:4: warning: direct access to Objective-C's isa is deprecated
> in favor of object_getClass() [-Wdeprecated-objc-isa-usage]
> [isa insertObject: AUTORELEASE([gstate copy]) forKey: ++unique_index];
> ^
> /GNUstep/Local/Library/Headers/Foundation/NSObject.h:293:9: note: instance
> variable is declared here
> Class isa;
> ^
> GSContext.m:511:4: warning: direct access to Objective-C's isa is deprecated
> in favor of object_getClass() [-Wdeprecated-objc-isa-usage]
> [isa insertObject: AUTORELEASE([gstate copy]) forKey: gst];