http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53707
--- Comment #9 from Rafał Mużyło <galtgendo at o2 dot pl> 2012-06-18 10:43:50 UTC --- The code is not mine and it's about as convoluted (if not more) as freeciv was (that was the *initial* part of bug 39333 - the upstream workaround was http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-2.0/wldlg.c?r1=13570&r2=13617). Anyway, changing enum to static const doesn't help.