$ 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
Getting strange compile error. Please have a look.
Posted by Silentius on Sun 04 Oct 2009 08:58 PM — 5 posts, 27,388 views.
There are some topics on this already.
http://www.gammon.com.au/forum/?id=8996
http://www.gammon.com.au/forum/?id=8996
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.
7708 IMCSTRFREE( (char *)skeleton->name );
7709 IMCSTRFREE( (char *)skeleton->short_descr );
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.