Compiler warnings building GNUstep gui

2010-04-06 Thread Fred Kiefer
I am currently trying to reduce the amount of compiler warnings generated by GNUstep gui. At the moment I have these left with a gcc 4.4.1 on a 64 bit system: NSDocumentController.m:105: warning: ‘TypeInfoForHumanReadableName’ defined but not used NSGraphicsContext.m: In function ‘-[NSGraphicsCont

Re: Compiler warnings building GNUstep gui

2010-04-06 Thread David Chisnall
On 6 Apr 2010, at 09:24, Fred Kiefer wrote: > NSRulerMarker.m:189: warning: ‘-retain’ not found in protocol(s) I see this a lot in code ported from OS X. I'm not sure exactly why it's an error for us and not on OS X, but all of the Cocoa protocols are treated as conforming to the NSObject prot

Re: Compiler warnings building GNUstep gui

2010-04-07 Thread Jens Ayton
On Apr 6, 2010, at 13:03, David Chisnall wrote: > On 6 Apr 2010, at 09:24, Fred Kiefer wrote: >> >> NSRulerMarker.m:189: warning: ‘-retain’ not found in protocol(s) > > I see this a lot in code ported from OS X. I'm not sure exactly why it's an > error for us and not on OS X, but all of the Coc