[OGo-GNUstep-Port] compilation of zOGI with gnustep-base

Helge Hess gnustep-port@opengroupware.org
Tue, 27 Nov 2007 17:30:55 +0100


On 27.11.2007, at 17:19, Sebastian Reitenbach wrote:
> zOGIAction+Appointment.m:746: error: `NSShortInline8BitString'  
> undeclared
> (first use in this function)


The code does this:
       if (([value isKindOfClass:[NSString class]]) ||
           ([value isKindOfClass:[NSShortInline8BitString class]])) {

Which doesn't make any sense. First NSShortInline8BitString is a  
private class, and second its technically a subclass for NSString (so  
[value isKindOfClass:[NSString class]] already returns YES.

Greets,
   Helge
-- 
Helge Hess
http://www.helgehess.eu/