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
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: trunk r17607
         Discussion Lock: Any
        Operating System: None
         Planned Release: 

    _______________________________________________________

Details:

I try to compile trunk with debugging support:

> ./configure --enable-debug

and make fails on  file with the following message:

>   CC     savegame2.lo
> cc1: warnings being treated as errors
> savegame2.c: In function 'sg_load_players_basic':
> savegame2.c:2814: error: format '%lu' expects type 'long unsigned int', but
argument 7 has type 'size_t'
> savegame2.c:2814: error: format '%lu' expects type 'long unsigned int', but
argument 8 has type 'size_t'
> savegame2.c: In function 'sg_load_player_main':
> savegame2.c:3291: error: format '%lu' expects type 'long unsigned int', but
argument 8 has type 'size_t'
> savegame2.c:3291: error: format '%lu' expects type 'long unsigned int', but
argument 9 has type 'size_t'
> savegame2.c: In function 'sg_load_player_city':
> savegame2.c:3757: error: format '%lu' expects type 'long unsigned int', but
argument 8 has type 'size_t'
> savegame2.c:3757: error: format '%lu' expects type 'long unsigned int', but
argument 9 has type 'size_t'
> savegame2.c: In function 'sg_load_player_vision_city':
> savegame2.c:4843: error: format '%lu' expects type 'long unsigned int', but
argument 8 has type 'size_t'
> savegame2.c:4843: error: format '%lu' expects type 'long unsigned int', but
argument 9 has type 'size_t'
> make[3]: *** [savegame2.lo] Error 1
> make[3]: Leaving directory `/home/heilkitty/soft/freeciv/trunk/server'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/heilkitty/soft/freeciv/trunk/server'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/heilkitty/soft/freeciv/trunk'
> make: *** [all] Error 2





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?16300>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to