[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compile error: multiple use of a method name;
From: |
Ken Cline |
Subject: |
Re: compile error: multiple use of a method name; |
Date: |
Thu, 17 Jun 1999 08:41:57 -0400 (EDT) |
On Thu, 17 Jun 1999, xueyue wrote:
> I created a subclass of NodeItem and a subclass of LinkItem,
> and a subclass has some methods with names the same as the
> other subclass. But compile gives warning:
> node/MATSNodeItem.h:35: warning: using `+createBegin:(id)aZone
> withData:(_NODE_DATA)d withCanvas:(id)canvas'
> node/MATSLinkItem.h:34: warning: also found `+createBegin:(id)aZone
> withData:(_LINK_DATA)d withCanvas:(id)canvas'
>
> is it safe to ignore the warning?
Yes, but its worthwhile to check that the code is really
doing what you think it is at runtime (... as always).
There was a recent thread on the support list that discussed
this issue, see "Name Space conflicts and Swarm", the url is:
http://www.santafe.edu/projects/swarm/archive/list-archive.9906/0012.html
_________________________________________________________
Ken Cline address@hidden
SAIC VOICE (410) 571-0413
Annapolis, MD FAX (301) 261-8427
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.