4 Errors when compiling with Microsoft Visual C++ 6.0

Posted by Kyle on Thu 27 Jun 2002 08:10 AM — 2 posts, 12,321 views.

#0
I get this when I try to build the exe.

--------------------Configuration: smaug140 - Win32 Debug--------------------
Compiling...
const.c
c:\mud\smsource\const.c(51) : error C2078: too many initializers
player.c
c:\mud\smsource\player.c(73) : error C2143: syntax error : missing ')' before 'else'
c:\mud\smsource\player.c(78) : error C2001: newline in constant
c:\mud\smsource\player.c(79) : error C2143: syntax error : missing ')' before 'else'
Error executing cl.exe.

smaug.exe - 4 error(s), 0 warning(s)

I am not used to these kind of errors so any help resolving them so I can build will be very helpful.
Thanks,
Kyle
USA #1
Looks like you edited player.c?

What do the source lines look like?

No need to paste in the whole player.c file, just the lines with errors and a small range on either side. Probably a syntax error.