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 53119 - Glib 1.3.3 does not compile w/ -ansi
Glib 1.3.3 does not compile w/ -ansi
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
1.3.x
Other Linux
: Normal minor
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2001-04-11 20:27 UTC by Andres Salomon
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make glib compile w/ --enable-ansi (1.33 KB, patch)
2001-04-11 20:28 UTC, Andres Salomon
none Details | Review

Description Andres Salomon 2001-04-11 20:27:40 UTC
When glib 1.3.3 is configured w/ --enable-ansi, compilation fails due to
C++-style comments, and the inline keyword.  Fix follows..

(This is under gcc-2.95.3, btw.)
Comment 1 Andres Salomon 2001-04-11 20:28:52 UTC
Created attachment 461 [details] [review]
Make glib compile w/ --enable-ansi
Comment 2 Owen Taylor 2001-04-18 13:49:03 UTC
Applied C++ fixes, inline fixed as of:

2001-04-14  Hans Breuer  <hans@breuer.org>

	* glib.def :
	* makefile.msc.in : updated

	* gpattern.c : include "gutils.h" to resolve the inline hassle