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.
 Entire forum ➜ SMAUG ➜ Compiling the server ➜ Getting strange compile error. Please have a look.

Getting strange compile error. Please have a look.

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


Posted by Silentius   (16 posts)  Bio
Date Sun 04 Oct 2009 08:58 PM (UTC)
Message

$ make
make -s swreality
  Compiling o/imc.o....
imc.c: In function 'serverpassword':
imc.c:3462: warning: the address of 'name' will always evaluate as 'true'
imc.c:3476: warning: the address of 'pw' will always evaluate as 'true'
imc.c:3516: warning: the address of 'md5' will always evaluate as 'true'
imc.c: In function 'imcsetup':
imc.c:5417: warning: the address of 'imccmd' will always evaluate as 'true'
imc.c:5417: warning: the address of 'chan' will always evaluate as 'true'
imc.c:5469: warning: the address of 'arg1' will always evaluate as 'true'
imc.c:5474: warning: the address of 'arg1' will always evaluate as 'true'
imc.c:5530: warning: the address of 'arg1' will always evaluate as 'true'
imc.c: In function 'imcconfig':
imc.c:6247: warning: the address of 'arg1' will always evaluate as 'true'
imc.c: In function 'imcignore':
imc.c:6518: warning: the address of 'arg' will always evaluate as 'true'
imc.c: In function 'imcban':
imc.c:6586: warning: the address of 'arg' will always evaluate as 'true'
imc.c: In function 'imc_deny_channel':
imc.c:6680: warning: the address of 'vic_name' will always evaluate as 'true'
imc.c: In function 'imcpermset':
imc.c:6814: warning: the address of 'arg' will always evaluate as 'true'
imc.c: In function 'imccedit':
imc.c:7137: warning: the address of 'name' will always evaluate as 'true'
imc.c:7137: warning: the address of 'option' will always evaluate as 'true'
imc.c: In function 'imchedit':
imc.c:7351: warning: the address of 'name' will always evaluate as 'true'
imc.c:7351: warning: the address of 'cmd' will always evaluate as 'true'
imc.c: In function 'imc_purge_skeleton':
imc.c:7708: error: lvalue required as left operand of assignment
imc.c:7709: error: lvalue required as left operand of assignment
imc.c: In function 'imc_send_social':
imc.c:7758: warning: the address of 'socbuf' will always evaluate as 'true'
imc.c:7765: warning: the address of 'socbuf' will always evaluate as 'true'
imc.c:7772: warning: the address of 'socbuf' will always evaluate as 'true'
make[1]: *** [o/imc.o] Error 1
make: *** [all] Error 2
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Sun 04 Oct 2009 09:15 PM (UTC)
Message
There are some topics on this already.
http://www.gammon.com.au/forum/?id=8996

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Silentius   (16 posts)  Bio
Date Reply #2 on Sun 04 Oct 2009 09:24 PM (UTC)
Message
I read over the link you posted, but did not make any connections. Sorry if I'm being a little slow. I'm searching this site again to double check the forums.
Top

Posted by Silentius   (16 posts)  Bio
Date Reply #3 on Sun 04 Oct 2009 09:31 PM (UTC)
Message

7708 IMCSTRFREE( (char *)skeleton->name );
7709 IMCSTRFREE( (char *)skeleton->short_descr );
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #4 on Mon 05 Oct 2009 06:44 PM (UTC)
Message
Where did you get this codebase, and is it the most recent version of the distribution? A lot of distributions have updated their code to compile cleanly with the recent compiler versions that tend to be stricter with various things.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
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.


20,692 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.