Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Compiling the server ➜ 4 Errors when compiling with Microsoft Visual C++ 6.0

4 Errors when compiling with Microsoft Visual C++ 6.0

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Kyle   (1 post)  Bio
Date Thu 27 Jun 2002 08:10 AM (UTC)
Message
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
Top

Posted by Festerhead   USA  (8 posts)  Bio
Date Reply #1 on Thu 27 Jun 2002 08:50 PM (UTC)
Message
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.

FesterHead Radio - Maui's premier Indie, Modern, Progressive, and Classic Rock station.
http://www.festerhead.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


10,562 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.