Hi Guys,
abit of a weird one.. probably something to do with my system. The server I'm on compiles our SmaugFUSS code fine, but when I go to compile on my linux machine the whole lot goes in 'funky town' mode.
I'm guessing its the GCC version im using... but is there anyway bypassing these errors? I'm on 4.4.1-2 where our server is on: 4.1.2-44
Many thanks for any help or advice!
abit of a weird one.. probably something to do with my system. The server I'm on compiles our SmaugFUSS code fine, but when I go to compile on my linux machine the whole lot goes in 'funky town' mode.
I'm guessing its the GCC version im using... but is there anyway bypassing these errors? I'm on 4.4.1-2 where our server is on: 4.1.2-44
imc.c: In function ‘char* imccapitalize(const char*)’:
imc.c:525: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:527: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c: In function ‘char* imc_mudof(const char*)’:
imc.c:597: error: invalid conversion from ‘const char*’ to ‘char*’
imc.c: In function ‘void imc_new_channel(const char*, const char*, const char*, const char*, const char*, bool, int, const char*)’:
imc.c:1089: warning: conversion to ‘short int’ from ‘int’ may alter its value
imc.c: In function ‘int imcfread_number(FILE*)’:
imc.c:1113: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:1121: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:1125: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:1142: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c: In function ‘char* imcfread_line(FILE*)’:
imc.c:1182: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:1196: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:1209: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c: In function ‘char* imcfread_word(FILE*)’:
imc.c:1242: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:1265: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c: In function ‘void imcfread_to_eol(FILE*)’:
imc.c:1292: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:1298: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c: In function ‘char imcfread_letter(FILE*)’:
imc.c:1320: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c: In function ‘void imc_recv_broadcast(IMC_PACKET*, char*)’:
imc.c:1901: warning: the address of ‘sender’ will always evaluate as ‘true’
imc.c: In function ‘void imc_recv_chanwho(IMC_PACKET*, char*)’:
imc.c:2028: warning: the address of ‘cwho’ will always evaluate as ‘true’
imc.c: In function ‘void imc_recv_isalive(IMC_PACKET*, char*)’:
imc.c:2640: warning: the address of ‘url’ will always evaluate as ‘true’
imc.c:2646: warning: the address of ‘version’ will always evaluate as ‘true’
imc.c:2652: warning: the address of ‘netname’ will always evaluate as ‘true’
imc.c:2664: warning: the address of ‘host’ will always evaluate as ‘true’
imc.c:2670: warning: the address of ‘iport’ will always evaluate as ‘true’
imc.c: In function ‘void imc_recv_iceupdate(IMC_PACKET*, char*)’:
imc.c:2747: warning: the address of ‘chan’ will always evaluate as ‘true’
imc.c:2766: warning: conversion to ‘short int’ from ‘int’ may alter its value
imc.c: In function ‘void imc_process_authentication(char*)’:
imc.c:3231: warning: the address of ‘rname’ will always evaluate as ‘true’
imc.c:3244: warning: the address of ‘pw’ will always evaluate as ‘true’
imc.c:3287: warning: the address of ‘encrypt’ will always evaluate as ‘true’
imc.c: In function ‘void imc_readchannel(IMC_CHANNEL*, FILE*)’:
make[1]: *** [o/imc.o] Error 1
make: *** [all] Error 2
Many thanks for any help or advice!