Strange Error when importing talkd.h
Strange Error when importing talkd.h
- Subject: Strange Error when importing talkd.h
- From: Thomas Diemer <email@hidden>
- Date: Wed, 3 Apr 2002 21:24:14 +0200
Hi
I want to write an Cocoa talk-client. I thought using OSX's talkd would
be nice, so I don't have to write an deamon myself. Shouldn't be that
tough I thought, imported talkd.h but when compiling I got an error in
talkd.h!
I couldn't figure out what went wrong. Even when making a new project
including talkd.h and trying to define an struct gives me that error.
#import "myclass.h"
#import <protocols/talkd.h>
@implementation myclass
CTL_MSG msg;
@end
CompileC
/Users/thdi/newproject/build/intermediates/newproject.build/Objects/ppc/myclass.
o
In file included from myclass.m:10:
/usr/include/protocols/talkd.h:87: field `addr' has incomplete type
/usr/include/protocols/talkd.h:88: field `ctl_addr' has incomplete type
/usr/include/protocols/talkd.h:106: field `addr' has incomplete type
Did I mis a basic when using BSD header files in Cocoa, what went wrong?
Greetings,
Thomas
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.