URL:
  <http://gna.org/bugs/?21518>

                 Summary: Compilation failure due to size_t section file
include counter
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sun 19 Jan 2014 08:34:35 PM EET
                Category: general
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: Ready For Test
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.6.0

    _______________________________________________________

Details:

Building current TRUNK with crosser (gcc version 4.6.4) says:
"unknown conversion type character 'z' in format [-Werror=format]"

I remember similar problem earlier where I did research to find out that there
isn't really portable (as in: works with older compilers than latest
standards) way to printf size_t.

Attached patch works around the problem.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 19 Jan 2014 08:34:35 PM EET  Name: IntNumIncludes.patch  Size: 1kB  
By: cazfi

<http://gna.org/bugs/download.php?file_id=19800>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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