Re: [Circle] [LEVELS] Adding Immortal Levels

MAALEXAN@am.pnu.com
Date: 11/12/96


Hrm I have been working on this for a bit and the # of errors I get is 
somewhat confusing.  This is what the original looks like

>#define LVL_IMPL        114
>#define LVL_GRGOD       113
>#define LVL_GOD         112
>#define LVL_IMMORT      111
>
>#define LVL_FREEZE      LVL_GRGOD
>

Did you get any warnings with the original? 

This is what it looks like after my changes

>#define LVL_IMPL        114   /* Originator */ 
>#define LVL_GRGOD       113   /* Blank Spot */ 
>#define LVl_HCODE       112   /* Head Coder */ 
>#define LVL_HBUIL       111   /* Head Builder */ 
>#define LVL_CODER       110   /* Coder */ 
>#define LVL_BUILD       109   /* Builder */ 
>#define LVL_MARS        108   /* Marshall */ 
>#define LVL_DEP         107   /* Deputy */ 
>#define LVL_ORACL       106   /* Retired */ 
>#define LVL_BLA         105   /* Blank */ 
>#define LVL_BLAA        104   /* Blank */ 
>#define LVL_BLEA        103   /* Blank */ 
>#define LVL_GOD         102
>#define LVL_IMMORT      101
>
>#define LVL_FREEZE     LVL_GRGOD

You have a small "l" in head coder i.e. LVl_HCODE insteal of LVL_HCODE

Is ush_int on line 469 of structs.h a typo for sh_int?

Check your char_data structure in structs.h, could you have a garbage character 
stuck up there?  (I've had a line noise problem in the past and garbage 
charcters inserted by the noisy line often give huge numbers of bizarre errors 
and warnings.)

Here are some of the errors I get compiling this.

>gcc -c -g -O -Wall -fno-strict-prototypes  comm.c 
>In file included from comm.c:28:
>structs.h:19: warning: `struct char_data' declared inside parameter list 
>structs.h:19: warning: its scope is only this definition or declaration, 
>structs.h:19: warning: which is probably not what you want.
>structs.h: In function `name':
>structs.h:469: storage class specified for parameter `ush_int' 
>structs.h:470: storage class specified for parameter `bool' 
>structs.h:476: conflicting types for `sh_int'
>structs.h:468: previous declaration of `sh_int' 
>structs.h:476: parse error before `room_num' 
>structs.h:507: parse error before `byte'
>structs.h:507: warning: no semicolon at end of struct or union 
>structs.h:508: warning: data definition has no type or storage class 
>structs.h:514: parse error before `obj_num'
>structs.h:514: warning: no semicolon at end of struct or union 
>structs.h:660: warning: data definition has no type or storage class 
>structs.h:661: parse error before `cha'
* Lots of these ^^^^^^^^^^^
>comm.c:489: dereferencing pointer to incomplete type 
>comm.c:491: dereferencing pointer to incomplete type 
* then A couple dozen of those


[>***** Todd H. Richert (Bel) *****>] 
+-----------------------------------------------------------+ 
| Ensure that you have read the CircleMUD Mailing List FAQ: | 
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   | 
+-----------------------------------------------------------+
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST