Re: [Newbie] Compile errors

From: JWoodsIII (JWoodsIII@AOL.COM)
Date: 04/19/98


In a message dated 98-04-19 18:47:53 EDT, satrycus@drachenburg.demon.co.uk
writes:

<< If you have an error compiling it's best to send the code that's
 causing the problem. Line 1684 in stock circle30bpl12 might not be
 the same as in your code and we can't compare it.

 send the line to the list and see if anyone can throw any light on
 your problem.

 -> ben >>
____________AND_____________
In a message dated 98-04-19 18:23:22 EDT, polaughlin@HOTMAIL.COM writes:

<< Are there any warnings in interpreter.c? Those may be causeing the
 problem.
  >>

I'm using unmodified Circle, Win95. Here's the complete log and a snip of
code.
--------------------Configuration: Makefile - Win32 Debug--------------------
Microsoft (R) Program Maintenance Utility   Version 1.62.7022
Copyright (C) Microsoft Corp 1988-1997. All rights reserved.
 cl -c /nologo /I. /IC:\VCpp5pro\INCLUDE comm.c
comm.c
comm.c(358) : warning C4761: integral size mismatch in argument; conversion
supplied
 cl -c /nologo /I. /IC:\VCpp5pro\INCLUDE act.comm.c
act.comm.c
 cl -c /nologo /I. /IC:\VCpp5pro\INCLUDE act.informative.c
act.informative.c
 cl -c /nologo /I. /IC:\VCpp5pro\INCLUDE act.movement.c
act.movement.c
 cl -c /nologo /I. /IC:\VCpp5pro\INCLUDE act.item.c
act.item.c
 cl -c /nologo /I. /IC:\VCpp5pro\INCLUDE act.offensive.c
act.offensive.c
 cl -c /nologo /I. /IC:\VCpp5pro\INCLUDE act.other.c
act.other.c
 cl -c /nologo /I. /IC:\VCpp5pro\INCLUDE act.social.c
act.social.c
 cl -c /nologo /I. /IC:\VCpp5pro\INCLUDE act.wizard.c
act.wizard.c
act.wizard.c(197) : warning C4761: integral size mismatch in argument;
conversion supplied
act.wizard.c(203) : warning C4761: integral size mismatch in argument;
conversion supplied
act.wizard.c(2349) : warning C4761: integral size mismatch in argument;
conversion supplied
 cl -c /nologo /I. /IC:\VCpp5pro\INCLUDE ban.c
ban.c
 cl -c /nologo /I. /IC:\VCpp5pro\INCLUDE boards.c
boards.c
 cl -c /nologo /I. /IC:\VCpp5pro\INCLUDE castle.c
castle.c
 cl -c /nologo /I. /IC:\VCpp5pro\INCLUDE class.c
class.c
 cl -c /nologo /I. /IC:\VCpp5pro\INCLUDE db.c
db.c
db.c(1595) : warning C4761: integral size mismatch in argument; conversion
supplied
db.c(1605) : warning C4761: integral size mismatch in argument; conversion
supplied
db.c(1619) : warning C4761: integral size mismatch in argument; conversion
supplied
 cl -c /nologo /I. /IC:\VCpp5pro\INCLUDE fight.c
fight.c
 cl -c /nologo /I. /IC:\VCpp5pro\INCLUDE graph.c
graph.c
 cl -c /nologo /I. /IC:\VCpp5pro\INCLUDE handler.c
handler.c
 cl -c /nologo /I. /IC:\VCpp5pro\INCLUDE house.c
house.c
house.c(442) : warning C4761: integral size mismatch in argument; conversion
supplied
house.c(484) : warning C4761: integral size mismatch in argument; conversion
supplied
 cl -c /nologo /I. /IC:\VCpp5pro\INCLUDE interpreter.c
interpreter.c
interpreter.c(1684) : error C2064: term does not evaluate to a function
NMAKE : fatal error U1077: 'D:\DEVSTUDIO\VC\BIN\cl.exe' : return code '0x2'
Stop.
Error executing NMAKE.

Makefile.exe - 2 error(s), 9 warning(s)
_____________________________________________________
*snip (line 1684 is the third one)*
    } else {
      SEND_TO_Q("\r\nCharacter not deleted.\r\n", d);
      SEND_TO_Q(MENU, d);0      STATE(d) = CON_MENU;
    }
*snip*
Someone suggested that it was OLCs fault, but I never patched in OLC...

-JW


     +------------------------------------------------------------+
     | 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