After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 156727 - mkdir is used without prototype in gstdio.c.
mkdir is used without prototype in gstdio.c.
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: win32
2.5.x
Other All
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-win32 maintainers
Depends on:
Blocks:
 
 
Reported: 2004-10-28 16:27 UTC by Kazuki Iwamoto
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kazuki Iwamoto 2004-10-28 16:27:27 UTC
Please describe the problem:
direct.h is needed for using mkdir.


Steps to reproduce:
1.compile by Visual C++ 6.0

Actual results:
The following message is displayed.
glib\glib\gstdio.c(184) : error C4013: 'mkdir' undefined; assuming extern
returning int

Expected results:
add "#include <direct.h>".

Does this happen every time?
every time

Other information:
Comment 1 Tor Lillqvist 2004-10-29 02:04:39 UTC
Thanks, fixed in CVS. (For some reason mingw has the mkdir() prototype in io.h, 
not direct.h.)