🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Reginald Perry Thu, 31 Dec 1992 00:49
GCC 2.3.3 on NeXT NeXTStep 3.0 Compile problems
#730
Author: Reginald Perry
Date: Thu, 31 Dec 1992 00:49
53 lines
2728 bytes
I am having a problem compiling some Objective-C code on a NeXT
running NeXTStep 3.0. I hope I am doing something stuid. What follows
is a snippet of the code followed by the error. Any help at all would
be appreciated.

				Reggie

/* Protocol support */

@class Protocol;

struct objc_protocol_list {
	struct objc_protocol_list *next;
	int count;
	Protocol *list[1];
};

/NextDeveloper/Headers/objc/objc-class.h:77: invalid Objective C keyword `@class'
/NextDeveloper/Headers/objc/objc-class.h:77: parse error before `@class'
/NextDeveloper/Headers/objc/objc-class.h:82: parse error before `Protocol'
/NextDeveloper/Headers/objc/objc-class.h:82: warning: no semicolon at end of struct or union
-----------------------------------------------------------------------------
#ifdef __GNUC__
#ifndef __STRICT_ANSI__
__volatile	/* never returns */
#endif /* not __STRICT_ANSI__ */
#endif /* __GNUC__ */
extern void _NXRaiseError(int code, const void *data1, const void *data2);

/NextDeveloper/Headers/objc/error.h:81: warning: `extern' is not at beginning of declaration
-------------------------------------------------------------------------------
#import <objc/typedstream.h>
#import <objc/zone.h>
@class Protocol;

/NextDeveloper/Headers/objc/Object.h:17: invalid Objective C keyword `@class'
/NextDeveloper/Headers/objc/Object.h:17: parse error before `@class'
-----------------------------------------------------------------------------
- (BOOL) conformsTo: (Protocol *)aProtocolObject;
+ (BOOL) conformsTo: (Protocol *)aProtocolObject;

/NextDeveloper/Headers/objc/Object.h:69: parse error before `Protocol'
/NextDeveloper/Headers/objc/Object.h:70: parse error before `Protocol'
--------------------------------------------------------------------------

@protocol NXEncoding
// encode an objc (parameter) type
- encodeData:(void *)data ofType:(const char *)type;


/NextDeveloper/Headers/remote/transport.h:13: invalid Objective C keyword `@protocol'
/NextDeveloper/Headers/remote/transport.h:13: parse error before `@protocol'
/NextDeveloper/Headers/remote/transport.h:18: method definition not in class context
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads