<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:
You can get rid of the warning with:
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).
(and a lot of debian messages, too)
Thanks for checking!
Freeciv-dev mailing list