In resource_name_translation, in terrain.c you are altering the value
of a const parameter.
This is not allowed, and gcc 4.1 tells us this with:
terrain.c: In function 'resource_name_translation':
terrain.c:244: error: assignment of read-only location

I'm not sure how this should be fixed? Maybe just remove the const
type specifier? It was working fine before, then I did "svn up" and it
broke.

Thank you for your time,
James Steven Supancic III

_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to