Compiling ../o/protocol.o....
protocol.c: In function ‘protocol_t* ProtocolCreate()’:
protocol.c:294: error: invalid conversion from ‘void*’ to ‘protocol_t*’
protocol.c:318: error: invalid conversion from ‘void*’ to ‘MSDP_t**’
protocol.c:322: error: invalid conversion from ‘void*’ to ‘MSDP_t*’
protocol.c: In function ‘void ProtocolDestroy(protocol_t*)’:
protocol.c:353: error: cannot convert ‘MSDP_t*’ to ‘const char*’ for argument ‘1’ to ‘bool in_hash_table(const char*)’
protocol.c:353: error: cannot convert ‘MSDP_t*’ to ‘const char*’ for argument ‘1’ to ‘int str_free(const char*)’
protocol.c:356: error: cannot convert ‘MSDP_t**’ to ‘const char*’ for argument ‘1’ to ‘bool in_hash_table(const char*)’
protocol.c:356: error: cannot convert ‘MSDP_t**’ to ‘const char*’ for argument ‘1’ to ‘int str_free(const char*)’
protocol.c:359: error: cannot convert ‘protocol_t*’ to ‘const char*’ for argument ‘1’ to ‘bool in_hash_table(const char*)’
protocol.c:359: error: cannot convert ‘protocol_t*’ to ‘const char*’ for argument ‘1’ to ‘int str_free(const char*)’
protocol.c: In function ‘void MSDPSetTable(descriptor_t*, variable_t, const char*)’:
protocol.c:1418: error: invalid conversion from ‘void*’ to ‘char*’
protocol.c: In function ‘void MSDPSetArray(descriptor_t*, variable_t, const char*)’:
protocol.c:1454: error: invalid conversion from ‘void*’ to ‘char*’
protocol.c: In function ‘void SoundSend(descriptor_t*, const char*)’:
protocol.c:1559: warning: comparison between signed and unsigned integer expressions
protocol.c:1562: error: invalid conversion from ‘void*’ to ‘char*’
protocol.c: In function ‘void PerformSubnegotiation(descriptor_t*, char, char*, int)’:
protocol.c:1989: error: invalid conversion from ‘void*’ to ‘char*’
protocol.c: In function ‘void ExecuteMSDPPair(descriptor_t*, const char*, const char*)’:
protocol.c:2455: error: invalid conversion from ‘void*’ to ‘char*’
protocol.c: In function ‘char* AllocString(const char*)’:
protocol.c:2882: error: invalid conversion from ‘void*’ to ‘char*’
make[1]: *** [../o/protocol.o] Error 1
I have followed instructions inside the snippet for smaug, as well as the instructions here: https://www.gammon.com.au/forum/?id=12367 (which did solve the protocol.h issue)
any ideas? or is there an updated version for FUSS?