Tweaks to avoid compiler warnings with gcc-4

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21390 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2005-07-01 12:29:50 +00:00
parent 59fed7cd35
commit 9ac16024f5
53 changed files with 502 additions and 322 deletions

View file

@ -42,12 +42,30 @@
@end
@class GSValue;
@interface GSValue : NSObject // Help the compiler
@end
@class GSNonretainedObjectValue;
@interface GSNonretainedObjectValue : NSObject // Help the compiler
@end
@class GSPointValue;
@interface GSPointValue : NSObject // Help the compiler
@end
@class GSPointerValue;
@interface GSPointerValue : NSObject // Help the compiler
@end
@class GSRangeValue;
@interface GSRangeValue : NSObject // Help the compiler
@end
@class GSRectValue;
@interface GSRectValue : NSObject // Help the compiler
@end
@class GSSizeValue;
@interface GSSizeValue : NSObject // Help the compiler
@end
@class NSDataStatic; // Needed for decoding.
@interface NSDataStatic : NSObject // Help the compiler
@end
static Class abstractClass;
static Class concreteClass;
@ -386,8 +404,6 @@ static NSLock *placeholderLock;
RELEASE(d);
}
@class NSDataStatic; // Neede for decoding.
- (id) initWithCoder: (NSCoder *)coder
{
char type[64];