Update of bug #15410 (project freeciv): Severity: 2 - Minor => 4 - Important Status: Need Info => Confirmed Planned Release: => 2.3.0 Summary: Freeciv does not compile with --enable-debug=yes and GCC 4.2.4 => const parameter changed in team_slot_rule_name() & team_slot_name_translation()
_______________________________________________________ Follow-up Comment #17: Anyway that code is extremely bad style. It's not only casting const away with the idea "I know it will not be changed even if it doesn't say so" but it really *is* changed. I assume that compiler notices that (it's inline function after all, so compiler sees whole situation not only the cast hack) This code has to be rewritten so that one can trust 'const' keyword that has been used. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?15410> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev