From: punisher@iastate.edu (Frank Castiglione)
Subject: More HELP!!!!
Organization: Iowa State University, Ames IA
Date: Tue, 7 Apr 1992 03:53:06 GMT

Well...I made a few changes then recompiled.  What was wrong now works.

Now I have a few other problems...

ccom: Warning: Pzkw_I.c, line 107: statement not reached
          }
      ----^

cpp: warning /usr/include/sys/param.h:370: MIN redefined
cpp: warning /usr/include/sys/param.h:371: MAX redefined
ccom: Warning: Include/maze.h, line 19: undeclared initializer name MAX_VEHICLES
          Coord start[      7       ][MAX_VEHICLES];
      --------------------------------------------^
ccom: Error: Include/maze.h, line 19: constant expected
          Coord start[      7       ][MAX_VEHICLES];
      --------------------------------------------^
ccom: Error: Include/maze.h, line 19: constant expected
          Coord start[      7       ][MAX_VEHICLES];
      --------------------------------------------^
ccom: Warning: Include/object.h, line 61: undeclared initializer name MAX_SEGMEN
TS
          Segment segment[MAX_SEGMENTS];
      --------------------------------^
ccom: Error: Include/object.h, line 61: constant expected
          Segment segment[MAX_SEGMENTS];
      --------------------------------^
ccom: Error: Include/object.h, line 61: constant expected
          Segment segment[MAX_SEGMENTS];
      --------------------------------^
ccom: Warning: Include/object.h, line 73: undeclared initializer name MAX_STRING
          char  type[MAX_STRING];
      -------------------------^
ccom: Error: Include/object.h, line 73: constant expected
          char  type[MAX_STRING];
      -------------------------^
ccom: Error: Include/object.h, line 73: constant expected
          char  type[MAX_STRING];
      -------------------------^
ccom: Error: Include/x11.h, line 279: constant expected
        char player_name[MAX_STRING+1];
      -------------------------------^
ccom: Error: Include/x11.h, line 279: constant expected
        char player_name[MAX_STRING+1];
      -------------------------------^
ccom: Error: Include/x11.h, line 279: constant expected
        char player_name[MAX_STRING+1];
      -------------------------------^
ccom: Error: Include/x11.h, line 280: constant expected
        char tank_name[MAX_STRING+1];
      -----------------------------^
ccom: Error: Include/x11.h, line 280: constant expected
        char tank_name[MAX_STRING+1];
      -----------------------------^
ccom: Error: Include/x11.h, line 280: constant expected
        char tank_name[MAX_STRING+1];
      -----------------------------^
ccom: Error: Include/vdesc.h, line 42: constant expected
          char  name[MAX_STRING];
      -------------------------^
ccom: Error: Include/vdesc.h, line 42: constant expected
          char  name[MAX_STRING];
      -------------------------^
ccom: Error: Include/vdesc.h, line 43: constant expected
          char  designer[MAX_STRING];
      -----------------------------^
ccom: Error: Include/vdesc.h, line 43: constant expected
          char  designer[MAX_STRING];
      -----------------------------^
ccom: Warning: Include/vdesc.h, line 47: undeclared initializer name MAX_WEAPONS
          WeaponType weapon[MAX_WEAPONS];
      ---------------------------------^
ccom: Error: Include/vdesc.h, line 47: constant expected
          WeaponType weapon[MAX_WEAPONS];
      ---------------------------------^
ccom: Error: Include/vdesc.h, line 47: constant expected
          WeaponType weapon[MAX_WEAPONS];
      ---------------------------------^
ccom: Error: Include/vdesc.h, line 48: constant expected
          MountLocation mount[MAX_WEAPONS];
      -----------------------------------^
ccom: Error: Include/vdesc.h, line 48: constant expected
          MountLocation mount[MAX_WEAPONS];
      -----------------------------------^
ccom: Error: Include/setup.h, line 8: constant expected
          char  vehicle_name[MAX_STRING];
      ---------------------------------^
ccom: Error: Include/setup.h, line 8: constant expected
          char  vehicle_name[MAX_STRING];
      ---------------------------------^
ccom: Error: Include/setup.h, line 16: constant expected
          char  name[MAX_STRING];
      -------------------------^
ccom: Error: Include/setup.h, line 16: constant expected
          char  name[MAX_STRING];
      -------------------------^
ccom: Error: Include/setup.h, line 17: constant expected
          char  maze_name[MAX_STRING];
      ------------------------------^
ccom: Error: Include/setup.h, line 17: constant expected
          char  maze_name[MAX_STRING];
      ------------------------------^
ccom: Error: Include/setup.h, line 19: constant expected
          Comb  comb[MAX_VEHICLES];
      ---------------------------^
ccom: Error: Include/setup.h, line 19: constant expected
          Comb  comb[MAX_VEHICLES];
      ---------------------------^
ccom: Error: Include/special.h, line 16: constant expected
          char  string[MAX_STRING];
      ---------------------------^
ccom: Error: Include/special.h, line 16: constant expected
          char  string[MAX_STRING];
      ---------------------------^
ccom: Warning: Include/special.h, line 22: undeclared initializer name MAX_ENTRI
ES
          Entry _entry[MAX_ENTRIES];
      ----------------------------^
ccom: Error: Include/special.h, line 22: constant expected
          Entry _entry[MAX_ENTRIES];
      ----------------------------^
(ccom): Include/special.h, line 22: ccom: Internal: too many errors
          Entry _entry[MAX_ENTRIES];
      ----------------------------^
*** Error code 1
 
Stop.
*** Error code 1
 
Stop.


Where are these constants to be defined? 
What values should these constants take on?

Any help is welcomed greatly.

/---------------------------------------\
| Don B. Bennett | aka The Punisher     | "The difference between a successfull
|---------------------------------------|  person and others is not a lack of
|  InterNet  punisher@iastate.edu       |  strength, not a lack of knowledge,
|            taa32@ccvax.iastate.edu    |  but rather lack of will." 
|					|
|    UUCP    uunet!iastate.edu!punisher |	 	   -Vincent T. Lombardi
\---------------------------------------/

Newsgroups: rec.games.xtank.programmer