[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Compiling the server
. . -> [Subject]  Getting strange compile error. Please have a look.
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Getting strange compile error. Please have a look.

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


Posted by Silentius   (16 posts)  [Biography] 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
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] 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
[Go to top] top

Posted by Silentius   (16 posts)  [Biography] 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.
[Go to top] top

Posted by Silentius   (16 posts)  [Biography] 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 );
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] 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
[Go to top] 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.


5,970 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]