URL:
  <http://gna.org/patch/?3466>

                 Summary: Include direct.h to shared.c for _mkdir() for
Windows builds
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Tue 31 Jul 2012 06:17:14 PM EEST
                Category: bootstrap
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.3.3, 2.4.0, 2.5.0

    _______________________________________________________

Details:

Windows compilation warns:

../utility/shared.c: In function 'make_dir':
../utility/shared.c:1769:5: warning: implicit declaration of function '_mkdir'
[-Wimplicit-function-declaration]
../utility/shared.c:1769:5: warning: nested extern declaration of '_mkdir'
[-Wnested-externs]

Including direct.h while compiling for Windows fixes this.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 31 Jul 2012 06:17:14 PM EEST  Name: _MkdirHdr.patch  Size: 346B  
By: cazfi

<http://gna.org/patch/download.php?file_id=16250>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?3466>

_______________________________________________
  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