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 173094 - process.h is needed for getpid in gmessages.c
process.h is needed for getpid in gmessages.c
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-04-08 17:21 UTC by Kazuki Iwamoto
Modified: 2005-05-20 15:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kazuki Iwamoto 2005-04-08 17:21:43 UTC
Please describe the problem:
getpid is used without prototype.

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-04-09 02:09:59 UTC
Fixed.
Comment 2 Kazuki Iwamoto 2005-05-20 15:27:39 UTC
It was unsuitable.
You fixed other file(glib/gutils.c).
gmessages.c is not fixed yet.

http://cvs.gnome.org/viewcvs/glib/ChangeLog?rev=1.1941&view=markup