<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39479 >
Marko Lindqvist wrote: > gcc version 4.1.3 20070718 (prerelease) (Debian 4.1.2-14) > Another damn gcc 4 incompatibility! const returns on functions are/were standard C practice to indicate that the value should not change.... Apparently, they changed to an "attribute" to indicate const'edness: __attribute_const__ You can get rid of the warning with: -Wno-return-type But, I'll make the changes anyway. It will continue to bite us, as it has other projects all year (according to a quick search). http://gcc.gnu.org/ml/gcc-help/2007-06/msg00151.html (and a lot of debian messages, too) Thanks for checking! _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev