I'm more than a bit new to this, so realize I've probably done (or not done) something obvious. This is smaugfuss 1.9 on Ubuntu 11.10. Attempts to compile result in tons of errors, all of which look very similar to the one-page sampling I'll post here:
imc.c:414:14: error: deprecated conversion from string constant to 'char*' [-Werror=write-strings]
imc.c: In function 'char* imccapitalize(const char*)':
imc.c:525:35: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c:527:35: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c: In function 'char* imc_mudof(const char*)':
imc.c:597:37: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
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:15: error: conversion to 'short int' from 'int' may alter its value [-Werror=conversion]
imc.c: In function 'int imcfread_number(FILE*)':
imc.c:1113:11: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c:1121:11: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c:1125:11: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c:1142:11: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c: In function 'char* imcfread_line(FILE*)':
imc.c:1182:11: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c:1196:11: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c:1209:11: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c: In function 'char* imcfread_word(FILE*)':
imc.c:1242:14: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c:1265:16: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c: In function 'void imcfread_to_eol(FILE*)':
imc.c:1292:11: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c:1298:11: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c: In function 'char imcfread_letter(FILE*)':
imc.c:1320:11: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c: In function 'void imc_recv_broadcast(IMC_PACKET*, char*)':
imc.c:1901:9: error: the address of 'sender' will always evaluate as 'true' [-Werror=address]
imc.c: In function 'void imc_recv_chanwho(IMC_PACKET*, char*)':
imc.c:2028:14: error: the address of 'cwho' will always evaluate as 'true' [-Werror=address]
imc.c: In function 'void imc_process_finger(char*, char*)':
imc.c:2423:64: error: deprecated conversion from string constant to 'char*' [-Werror=write-strings]
imc.c:2429:64: error: deprecated conversion from string constant to 'char*' [-Werror=write-strings]
imc.c: In function 'void imc_recv_isalive(IMC_PACKET*, char*)':
imc.c:2640:25: error: the address of 'url' will always evaluate as 'true' [-Werror=address]
imc.c:2646:33: error: the address of 'version' will always evaluate as 'true' [-Werror=address]
imc.c:2652:33: error: the address of 'netname' will always evaluate as 'true' [-Werror=address]
imc.c:2664:27: error: the address of 'host' will always evaluate as 'true' [-Werror=address]
imc.c:2670:29: error: the address of 'iport' will always evaluate as 'true' [-Werror=address]
imc.c: In function 'void imc_request_keepalive()':
imc.c:2702:36: error: deprecated conversion from string constant to 'char*' [-Werror=write-strings]
imc.c: In function 'void imc_recv_iceupdate(IMC_PACKET*, char*)':
imc.c:2747:9: error: the address of 'chan' will always evaluate as 'true' [-Werror=address]
imc.c:2766:18: error: conversion to 'short int' from 'int' may alter its value [-Werror=conversion]
imc.c: In function 'void imc_process_authentication(char*)':
imc.c:3231:9: error: the address of 'rname' will always evaluate as 'true' [-Werror=address]
imc.c:3244:12: error: the address of 'pw' will always evaluate as 'true' [-Werror=address]
imc.c:3287:36: error: the address of 'encrypt' will always evaluate as 'true' [-Werror=address]
imc.c: In function 'void imc_readchannel(IMC_CHANNEL*, FILE*)':
I know enough to know that something is very wrong, but not enough to know exactly what. So any info would be appreciated.
imc.c:414:14: error: deprecated conversion from string constant to 'char*' [-Werror=write-strings]
imc.c: In function 'char* imccapitalize(const char*)':
imc.c:525:35: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c:527:35: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c: In function 'char* imc_mudof(const char*)':
imc.c:597:37: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
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:15: error: conversion to 'short int' from 'int' may alter its value [-Werror=conversion]
imc.c: In function 'int imcfread_number(FILE*)':
imc.c:1113:11: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c:1121:11: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c:1125:11: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c:1142:11: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c: In function 'char* imcfread_line(FILE*)':
imc.c:1182:11: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c:1196:11: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c:1209:11: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c: In function 'char* imcfread_word(FILE*)':
imc.c:1242:14: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c:1265:16: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c: In function 'void imcfread_to_eol(FILE*)':
imc.c:1292:11: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c:1298:11: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c: In function 'char imcfread_letter(FILE*)':
imc.c:1320:11: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
imc.c: In function 'void imc_recv_broadcast(IMC_PACKET*, char*)':
imc.c:1901:9: error: the address of 'sender' will always evaluate as 'true' [-Werror=address]
imc.c: In function 'void imc_recv_chanwho(IMC_PACKET*, char*)':
imc.c:2028:14: error: the address of 'cwho' will always evaluate as 'true' [-Werror=address]
imc.c: In function 'void imc_process_finger(char*, char*)':
imc.c:2423:64: error: deprecated conversion from string constant to 'char*' [-Werror=write-strings]
imc.c:2429:64: error: deprecated conversion from string constant to 'char*' [-Werror=write-strings]
imc.c: In function 'void imc_recv_isalive(IMC_PACKET*, char*)':
imc.c:2640:25: error: the address of 'url' will always evaluate as 'true' [-Werror=address]
imc.c:2646:33: error: the address of 'version' will always evaluate as 'true' [-Werror=address]
imc.c:2652:33: error: the address of 'netname' will always evaluate as 'true' [-Werror=address]
imc.c:2664:27: error: the address of 'host' will always evaluate as 'true' [-Werror=address]
imc.c:2670:29: error: the address of 'iport' will always evaluate as 'true' [-Werror=address]
imc.c: In function 'void imc_request_keepalive()':
imc.c:2702:36: error: deprecated conversion from string constant to 'char*' [-Werror=write-strings]
imc.c: In function 'void imc_recv_iceupdate(IMC_PACKET*, char*)':
imc.c:2747:9: error: the address of 'chan' will always evaluate as 'true' [-Werror=address]
imc.c:2766:18: error: conversion to 'short int' from 'int' may alter its value [-Werror=conversion]
imc.c: In function 'void imc_process_authentication(char*)':
imc.c:3231:9: error: the address of 'rname' will always evaluate as 'true' [-Werror=address]
imc.c:3244:12: error: the address of 'pw' will always evaluate as 'true' [-Werror=address]
imc.c:3287:36: error: the address of 'encrypt' will always evaluate as 'true' [-Werror=address]
imc.c: In function 'void imc_readchannel(IMC_CHANNEL*, FILE*)':
I know enough to know that something is very wrong, but not enough to know exactly what. So any info would be appreciated.