[Freeciv-Dev] [bug #16318] strict aliasing and warnings

2010-09-16 Thread pepeto
Follow-up Comment #6, bug #16318 (project freeciv): bug #16457 is open item to treat about that. Unfortunately, there are very numerous problem treating enumerators as not integer. At many places (and it's not new, it actually affect most of versions of freeciv), it is used as integers.

[Freeciv-Dev] [bug #16318] strict aliasing and warnings

2010-08-10 Thread pepeto
Update of bug #16318 (project freeciv): Status: Ready For Test = Fixed Open/Closed:Open = Closed ___ Reply to this item at:

[Freeciv-Dev] [bug #16318] strict aliasing and warnings

2010-08-08 Thread pepeto
Update of bug #16318 (project freeciv): Category:None = general Status:None = Ready For Test Assigned to:None = pepeto Planned Release:

[Freeciv-Dev] [bug #16318] strict aliasing and warnings

2010-07-30 Thread m
Follow-up Comment #2, bug #16318 (project freeciv): The scanf if (sscanf(level_str, %d, (int *) level) != 1) { lines can be fixed by an auxiliary temp variable. Or perhaps an atoi with error checking. When passing pointers of different type to functions

[Freeciv-Dev] [bug #16318] strict aliasing and warnings

2010-07-29 Thread Jason Dorje Short
Follow-up Comment #1, bug #16318 (project freeciv): Pointer type casts like that are generally to be avoided in C, in my experience. Agreed that the generated files should be removed by 'make distclean'. ___ Reply to this item at: