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.
Entire forum
➜ MUDs
➜ MUD Design Concepts
➜ Compiling Error, SWfote
Posting of new messages is disabled at present.
Refresh page
Posted by
| Dawastedpanda
(14 posts) Bio
|
Date
| Mon 12 Nov 2012 10:16 PM (UTC) |
Message
| Getting this error when using Make Command in cygwin, So far I've tar zxvf and all that, changed directories to the swfote12fuss/src and when I tyop make, I get the following
make -s swr
Compiling o/imc.o....
cc1: warnings being treated as errors
imc.c: In function ‘imcone_argument’:
imc.c:368:4: error: array subscript has type ‘char’
imc.c:392:4: error: array subscript has type ‘char’
imc.c: In function ‘imccapitalize’:
imc.c:557:7: error: array subscript has type ‘char’
imc.c:559:4: error: array subscript has type ‘char’
imc.c: In function ‘imcfread_number’:
imc.c:1144:4: error: array subscript has type ‘char’
imc.c:1157:4: error: array subscript has type ‘char’
imc.c:1163:4: error: array subscript has type ‘char’
imc.c: In function ‘imcfread_line’:
imc.c:1213:4: error: array subscript has type ‘char’
imc.c: In function ‘imcfread_word’:
imc.c:1273:4: error: array subscript has type ‘char’
imc.c:1295:7: error: array subscript has type ‘char’
imc.c: In function ‘imcfread_letter’:
imc.c:1351:4: error: array subscript has type ‘char’
imc.c: In function ‘imc_recv_broadcast’:
imc.c:1929:8: error: the address of ‘sender’ will always evaluate as ‘true’
imc.c: In function ‘imc_recv_isalive’:
imc.c:2524:8: error: the address of ‘url’ will always evaluate as ‘true’
imc.c:2530:8: error: the address of ‘version’ will always evaluate as ‘true’
imc.c:2536:8: error: the address of ‘netname’ will always evaluate as ‘true’
imc.c:2548:8: error: the address of ‘host’ will always evaluate as ‘true’
imc.c:2554:8: error: the address of ‘iport’ will always evaluate as ‘true’
imc.c: In function ‘imc_recv_iceupdate’:
imc.c:2631:8: error: the address of ‘chan’ will always evaluate as ‘true’
imc.c: In function ‘imc_process_authentication’:
imc.c:3111:8: error: the address of ‘rname’ will always evaluate as ‘true’
imc.c:3124:11: error: the address of ‘pw’ will always evaluate as ‘true’
imc.c:3167:11: error: the address of ‘md5’ will always evaluate as ‘true’
imc.c: In function ‘imcsetup’:
imc.c:5326:8: error: the address of ‘imccmd’ will always evaluate as ‘true’
imc.c:5326:40: error: the address of ‘chan’ will always evaluate as ‘true’
imc.c:5394:11: error: the address of ‘arg1’ will always evaluate as ‘true’
imc.c: In function ‘imctell’:
imc.c:5786:7: error: array subscript has type ‘char’
imc.c:5802:7: error: array subscript has type ‘char’
imc.c: In function ‘imcreply’:
imc.c:5866:7: error: array subscript has type ‘char’
imc.c:5882:7: error: array subscript has type ‘char’
imc.c: In function ‘imcfinger’:
imc.c:5948:8: error: the address of ‘arg’ will always evaluate as ‘true’
imc.c: In function ‘imcconfig’:
imc.c:6305:8: error: the address of ‘arg1’ will always evaluate as ‘true’
imc.c: In function ‘imcignore’:
imc.c:6576:8: error: the address of ‘arg’ will always evaluate as ‘true’
imc.c: In function ‘imcban’:
imc.c:6644:8: error: the address of ‘arg’ will always evaluate as ‘true’
imc.c: In function ‘imc_deny_channel’:
imc.c:6703:8: error: the address of ‘vic_name’ will always evaluate as ‘true’
imc.c: In function ‘imcpermset’:
imc.c:6819:8: error: the address of ‘arg’ will always evaluate as ‘true’
imc.c: In function ‘imcremoteadmin’:
imc.c:6976:8: error: the address of ‘server’ will always evaluate as ‘true’
imc.c:6976:40: error: the address of ‘cmd’ will always evaluate as ‘true’
imc.c: In function ‘imccedit’:
imc.c:7129:8: error: the address of ‘name’ will always evaluate as ‘true’
imc.c:7129:36: error: the address of ‘option’ will always evaluate as ‘true’
imc.c: In function ‘imchedit’:
imc.c:7346:8: error: the address of ‘name’ will always evaluate as ‘true’
imc.c:7346:36: error: the address of ‘cmd’ will always evaluate as ‘true’
imc.c: In function ‘imc_find_social’:
imc.c:7484:4: error: array subscript has type ‘char’
imc.c: In function ‘imc_act_string’:
imc.c:7662:7: error: array subscript has type ‘char’
imc.c: In function ‘imc_send_social’:
imc.c:7820:11: error: the address of ‘socbuf’ will always evaluate as ‘true’
imc.c:7827:11: error: the address of ‘socbuf’ will always evaluate as ‘true’
imc.c:7834:11: error: the address of ‘socbuf’ will always evaluate as ‘true’
imc.c: In function ‘imc_command_hook’:
imc.c:8150:10: error: array subscript has type ‘char’
imc.c:8159:10: error: array subscript has type ‘char’
Makefile:72: recipe for target `o/imc.o' failed
make[1]: *** [o/imc.o] Error 1
Makefile:32: recipe for target `all' failed
make: *** [all] Error 2
| Top |
|
Posted by
| Dawastedpanda
(14 posts) Bio
|
Date
| Reply #1 on Mon 12 Nov 2012 10:17 PM (UTC) Amended on Mon 12 Nov 2012 10:18 PM (UTC) by Dawastedpanda
|
Message
| Also, I've searched your archives for every possible solution...I could find none, please help me compile this in cygwin...if you could walk me through it'd be greatly appreciated. I'm using Windows 7, I've downloaded CYGWIN and all the packages, and I got the source code from this site. | Top |
|
Posted by
| Nick Gammon
Australia (23,122 posts) Bio
Forum Administrator |
Date
| Reply #2 on Mon 12 Nov 2012 11:23 PM (UTC) |
Message
| That file is dated 2005 - that is about 7 years old. Compiler improvements mean extra warnings are now thrown which are being marked as errors.
I suggest you get a more up-to-date copy from the SMAUG FUSS site:
http://www.smaugmuds.org/index.php?a=files |
- Nick Gammon
www.gammon.com.au, www.mushclient.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.
14,872 views.
Posting of new messages is disabled at present.
Refresh page
top