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 156728 - S_ISREG macro is used in gkeyfile.c.
S_ISREG macro is used in gkeyfile.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:37 UTC by Kazuki Iwamoto
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kazuki Iwamoto 2004-10-28 16:37:03 UTC
Please describe the problem:
There is no S_ISREG in headers of Visual C++.

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

Actual results:
The following message is displayed.
glib\glib\gkeyfile.c(368) : error C4013: 'S_ISREG' undefined; assuming extern
returning int

Expected results:
use "(stat_buf.st_mode & S_IFMT) == S_IFREG" as "S_ISREG (stat_buf.st_mode)".

Does this happen every time?
every time

Other information:
Comment 1 Ray Strode [halfline] 2004-10-28 18:44:00 UTC
Thanks Kazuki,

It should be fixed now:

2004-10-28  Ray Strode  <rstrode@redhat.com>

        * glib/gkeyfile.c: Don't use S_ISREG macro (#156728,
        Kazuki IWAMOTO)