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 305462 - process.h is needed for getpid in gmessages.c (again)
process.h is needed for getpid in gmessages.c (again)
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: win32
2.6.x
Other All
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-win32 maintainers
Depends on:
Blocks:
 
 
Reported: 2005-05-25 18:50 UTC by Kazuki Iwamoto
Modified: 2005-07-14 17:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kazuki Iwamoto 2005-05-25 18:50:30 UTC
Please describe the problem:
Bug #173094 was fixed incorrectly.
glib/gutils.c was fixed by non-necessity, but glib/gmessages.c wasn't yet.
http://cvs.gnome.org/viewcvs/glib/ChangeLog?rev=1.1941&view=markup

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

Actual results:
Following message is displayed.
gmessages.c(887) : error C4013: 'getpid' undefined; assuming extern returning int

Expected results:
add "include <process.h>" when defined G_OS_WIN32

Does this happen every time?
every time

Other information:
Comment 1 Tor Lillqvist 2005-07-14 17:29:09 UTC
Fix in glib-2-6, already fixed in HEAD.