[Freeciv-Dev] [bug #16300] doesn't compile with --enable-debug

2010-07-30 Thread Matthias Pfafferodt
Update of bug #16300 (project freeciv): Status: Ready For Test = Fixed Open/Closed:Open = Closed ___ Reply to this item at:

[Freeciv-Dev] [bug #16300] doesn't compile with --enable-debug

2010-07-26 Thread Matthias Pfafferodt
Follow-up Comment #1, bug #16300 (project freeciv): what system do you use? The warnings are for variables of type 'size_t' printed using '%lu'. What is the type of size_t on your system? As a solution casts could be added to all lines with warning ... I do compile using

[Freeciv-Dev] [bug #16300] doesn't compile with --enable-debug

2010-07-26 Thread Matthias Pfafferodt
Update of bug #16300 (project freeciv): Status:None = Ready For Test Assigned to:None = syntron Planned Release: = 2.3.0

[Freeciv-Dev] [bug #16300] doesn't compile with --enable-debug

2010-07-26 Thread Lavrentij P Berija
Follow-up Comment #3, bug #16300 (project freeciv): I use Ubuntu Karmic 32 bit. Is there a possibility that these casts can go wrong on 32 bit or 64 bit? Compilation of savegame2.c works OK with this patch, but I can't test if saving/loading the game is correct because of another warning in

[Freeciv-Dev] [bug #16300] doesn't compile with --enable-debug

2010-07-26 Thread Matthias Pfafferodt
Follow-up Comment #4, bug #16300 (project freeciv): I use Ubuntu Karmic 32 bit. Is there a possibility that these casts can go wrong on 32 bit or 64 bit? This could be the case for size_t ... (32 bit on 32 and 64 bit on 64?) Compilation of savegame2.c works OK with this patch, but I can't

[Freeciv-Dev] [bug #16300] doesn't compile with --enable-debug

2010-07-26 Thread Lavrentij P Berija
Follow-up Comment #5, bug #16300 (project freeciv): Thanks, it worked out. Saving/loading games works OK, as far as I have tested. ___ Reply to this item at: http://gna.org/bugs/?16300 ___

[Freeciv-Dev] [bug #16300] doesn't compile with --enable-debug

2010-07-26 Thread Jacob Nevins
Follow-up Comment #6, bug #16300 (project freeciv): This seems to be a FAQ on comp.lang.c... the consensus there seems to be that casting to (unsigned long), as file #9564 does, is OK for C90 implementations, since size_t is guaranteed to fit in that. That's not true for C99, but there you can

[Freeciv-Dev] [bug #16300] doesn't compile with --enable-debug

2010-07-25 Thread Lavrentij P Berija
URL: http://gna.org/bugs/?16300 Summary: doesn't compile with --enable-debug Project: Freeciv Submitted by: heilkitty Submitted on: Понедельник 26.07.2010 at 04:33 Category: general Severity: 3 - Normal