swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swarm-Support] setBorderWidth


From: Kirsten Donnet
Subject: [Swarm-Support] setBorderWidth
Date: Sat, 30 Oct 2004 09:24:34 +0200

Hello,

in trying to compile some of the example programs for Swarm, in those that 
contain "setBorderWidth" such as BoolLib
I get the following error message:

> BoolNode.m: In function `-[BoolNode displayNodeState]':
> BoolNode.m:136: warning: invalid receiver type `void '
> BoolNode.m:136: warning: multiple declarations for method `setBorderWidth:'
> /usr/local/include/gui.h:185: warning: using `-setBorderWidth:(int)width'
> /usr/local/include/gui.h:785: warning: also found 
> `-(void)setBorderWidth:(int)aVal'
> BoolNode.m:136: error: void value not ignored as it ought to be
> BoolNode.m:136: error: invalid use of void expression
> BoolNode.m:140: warning: invalid receiver type `void '
> BoolNode.m:140: warning: multiple declarations for method `setBorderWidth:'
> /usr/local/include/gui.h:185: warning: using `-setBorderWidth:(int)width'
> /usr/local/include/gui.h:785: warning: also found 
> `-(void)setBorderWidth:(int)aVal'
> BoolNode.m:140: error: void value not ignored as it ought to be
> BoolNode.m:140: error: invalid use of void expression
> make: *** [BoolNode.o] Error 1

To get the program to run I just commented out these lines of code. For the 
future
could someone please tell me what is the correct way to handle "setBorderWidth"?

cheers,

Kirsten
________________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193



reply via email to

[Prev in Thread] Current Thread [Next in Thread]