swarm-support
[Top][All Lists]
Advanced

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

interface declaration


From: Daniel Calhoun
Subject: interface declaration
Date: Wed, 20 Sep 2000 07:58:05 -0700

Please, someone, tell me why the following should be obvious.
Has some expectation changed in the distribution for version 2.1.1?

Suddenly and erratically (not on all "makes"), the following error-message
appears:

In file included from ModelSwarm.h:5,
                 from FoodSpace.h:4,
                 from Band.h:7,
                 from Band.m:3:
Council.h:14: Cannot find interface declaration for `Band', superclass of
`Council'

The relevant(?) declaration sections are:

// Band.h                                       

#import <objectbase/Swarm.h>
#import <objectbase/SwarmObject.h>
#import <space.h>
#import <gui.h>
#import "FoodSpace.h"
#import "ModelSwarm.h"

@interface Band: SwarmObject
{
  int xPos, yPos;
... [etc.]
}
...
@end

and:

// Council.h

#import <objectbase/SwarmObject.h>
#import <space.h>
#import <gui.h>
#import "Band.h"
#import "ModelSwarm.h"

@interface Council: Band
{
  int emptyFlag;
  int xHQ, yHQ;
  id councilNode;
} 
...
@end


Many thanks for any clarification & tut-tuts.

-- Dan Calhoun
address@hidden


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