swarm-support
[Top][All Lists]
Advanced

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

reprise: interface declaration


From: Daniel Calhoun
Subject: reprise: interface declaration
Date: Tue, 10 Oct 2000 16:01:22 -0700

Sorry, folks.  I've dragged you this route once before, but the problem
resurfaces.  I suspect that I was asking a question whose answer is so
simple that no one could believe I was asking it.

I am rebuilding my model from scratch, with at the moment very little
internal content to the implementations, so that there are probably no
hidden dependencies created by eccentric code.

In the process I am trying to subclass Post from Band.

But the following code--

@interface Post: Band
{
// [No new instance variables]
}

-- produces the error:

In file included from ModelSwarm.h:6,
                 from Band.h:10,
                 from Band.m:3:
Post.h:14: Cannot find interface declaration for `Band', superclass of
`Post'


-- while the following change produces only a parse error before Band:

@interface Post: Band
{
id <SwarmObject> Band;
}


Is some kind of pointer declaration required that is buried in the
subtleties of the ObjC manual?

Thanks, again, I hope.

-- Dan Calhoun

                  ==================================
   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.



reply via email to

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