[newbie] Visual C++ 5.0 compile errors

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


Alright, I defined HAVE_SYS_STAT_H in conf.h, and I got all the way to the end
of the build, when suddenly I got 9 errors. So apparently the HAVE_SYS_STAT_H
got rid of some. Thanks for that. :-)
This is unmodified code I got the errors on and here they are...
*snip*
--------------------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 config.c
config.c
 cl -c /nologo /I. /IC:\VCpp5pro\INCLUDE constants.c
constants.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(200) : error C2065: 'SCMD_NORTHEAST' : undeclared identifier
interpreter.c(200) : error C2099: initializer is not a constant
interpreter.c(202) : error C2065: 'SCMD_SOUTHEAST' : undeclared identifier
interpreter.c(202) : error C2099: initializer is not a constant
interpreter.c(204) : error C2065: 'SCMD_SOUTHWEST' : undeclared identifier
interpreter.c(204) : error C2099: initializer is not a constant
interpreter.c(206) : error C2099: initializer is not a constant
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 - 9 error(s), 9 warning(s)
*snip*
If anyone knows how to get rid of either the errors or the warnings, please
help me out. :-)

-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