This code previously compiled on Cygwin, any idea why this is bleeding errors now?
make -s smaug
Compiling o/act_comm.o....
In file included from mud.h:389,
from act_comm.c:22:
weather.h:66: error: variably modified 'weatherMap' at file scope
weather.h:66: error: array type has incomplete element type
weather.h:67: error: variably modified 'weatherDelta' at file scope
weather.h:67: error: array type has incomplete element type
In file included from act_comm.c:22:
mud.h:4484: error: conflicting types for 'smash_tilde'
mud.h:4483: error: previous declaration of 'smash_tilde' was here
mud.h:4789: error: conflicting types for 'interpret'
mud.h:4788: error: previous declaration of 'interpret' was here
mud.h:4793: error: conflicting types for 'one_argument'
mud.h:4792: error: previous declaration of 'one_argument' was here
cc1: warnings being treated as errors
act_comm.c: In function 'translate':
act_comm.c:135: warning: passing argument 3 of 'strncpy' as unsigned due to prototype
act_comm.c: In function 'talk_channel':
act_comm.c:412: warning: passing argument 1 of 'set_char_color' with different width due to prototype
act_comm.c:417: warning: passing argument 1 of 'set_char_color' with different width due to prototype
act_comm.c:422: warning: passing argument 1 of 'set_char_color' with different width due to prototype
act_comm.c:427: warning: passing argument 1 of 'set_char_color' with different width due to prototype
act_comm.c:436: warning: passing argument 1 of 'act' with different width due to prototype
act_comm.c:559: warning: passing argument 1 of 'act' with different width due to prototype
act_comm.c:561: warning: passing argument 1 of 'act' with
<repeat about 1000 times>
make[1]: *** [o/act_comm.o] Error 1
make: *** [all] Error 2
make -s smaug
Compiling o/act_comm.o....
In file included from mud.h:389,
from act_comm.c:22:
weather.h:66: error: variably modified 'weatherMap' at file scope
weather.h:66: error: array type has incomplete element type
weather.h:67: error: variably modified 'weatherDelta' at file scope
weather.h:67: error: array type has incomplete element type
In file included from act_comm.c:22:
mud.h:4484: error: conflicting types for 'smash_tilde'
mud.h:4483: error: previous declaration of 'smash_tilde' was here
mud.h:4789: error: conflicting types for 'interpret'
mud.h:4788: error: previous declaration of 'interpret' was here
mud.h:4793: error: conflicting types for 'one_argument'
mud.h:4792: error: previous declaration of 'one_argument' was here
cc1: warnings being treated as errors
act_comm.c: In function 'translate':
act_comm.c:135: warning: passing argument 3 of 'strncpy' as unsigned due to prototype
act_comm.c: In function 'talk_channel':
act_comm.c:412: warning: passing argument 1 of 'set_char_color' with different width due to prototype
act_comm.c:417: warning: passing argument 1 of 'set_char_color' with different width due to prototype
act_comm.c:422: warning: passing argument 1 of 'set_char_color' with different width due to prototype
act_comm.c:427: warning: passing argument 1 of 'set_char_color' with different width due to prototype
act_comm.c:436: warning: passing argument 1 of 'act' with different width due to prototype
act_comm.c:559: warning: passing argument 1 of 'act' with different width due to prototype
act_comm.c:561: warning: passing argument 1 of 'act' with
<repeat about 1000 times>
make[1]: *** [o/act_comm.o] Error 1
make: *** [all] Error 2