- status: open --> closed-fixed
Compiling lgeneral on a 64 bit system fails:
if gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -Wall -MT slot.o -MD -MP -MF ".deps/slot.Tpo" -c -o slot.o slot.c; \
then mv -f ".deps/slot.Tpo" ".deps/slot.Po"; else rm -f ".deps/slot.Tpo"; exit 1; fi
slot.c: In function 'save_unit_lib_entry':
slot.c:236: error: duplicate case value
slot.c:236: error: previously used here
slot.c: In function 'save_unit':
slot.c:316: error: duplicate case value
slot.c:316: error: previously used here
At least it fails on Gentoo. But I suppose it is not specific to Gentoo.
See also the Gentoo bug tracker:
http://bugs.gentoo.org/show_bug.cgi?id=111828
There is also a patch, but maybe upstream a less ugly solution is possible.