Avoid compiler warning

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13860 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-06-13 16:02:02 +00:00
parent a850730753
commit b27af8b7a9
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2002-06-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m: Include NSInvocation.h to avoid
compiler warning.
2002-06-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Fix a few errors which crept in to the map

View file

@ -52,6 +52,7 @@
#include <Foundation/NSBundle.h>
#include <Foundation/NSCharacterSet.h>
#include <Foundation/NSFileManager.h>
#include <Foundation/NSInvocation.h>
/* libxml headers */
#include <libxml/tree.h>
@ -2869,8 +2870,8 @@ static BOOL warned = NO; if (warned == NO) { warned = YES; NSLog(@"WARNING, use
+ (void) forwardInvocation: (NSInvocation*)anInvocation
{
NSLog(@"Not built with libxml ... %@ unusable in %@",
NSStringFromClass([self class]),
NSStringFromSelector([anInvocation selector]));
NSStringFromClass([self class]),
NSStringFromSelector([anInvocation selector]));
return;
}
- (id) init