Re: OasisOLC errors?

From: George (greerga@CIRCLEMUD.ORG)
Date: 05/13/98


On Mon, 11 May 1998, Seung Yul Lee wrote:

>olc.c:33: warning: type defaults to `int' in declaration of `zedit_setup'
>olc.c:34: warning: type defaults to `int' in declaration of `zedit_save_to_disk'
>olc.c:35: warning: type defaults to `int' in declaration of `zedit_new_zone'
[...]

These are just prototypes missing their data type.

>redit.c: In function `redit_parse':
>redit.c:649: warning: unused variable `world'

Not important but you can probably remove the 'extern' there.

>gcc -c -g -O2 -Wall  oedit.c
>oedit.c: In function `oedit_save_internally':
>oedit.c:225: structure has no member named `virtual'
>oedit.c:229: structure has no member named `virtual'
>oedit.c:259: structure has no member named `virtual'

Change 'virtual'->'vnum'

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://patches.van.ml.org/          | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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