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 73550 - glib doesn't compile if G_GINT64_FORMAT is undefined
glib doesn't compile if G_GINT64_FORMAT is undefined
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gobject
1.3.x
Other Linux
: Normal major
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2002-03-05 15:51 UTC by Sven Neumann
Modified: 2011-02-18 15:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to make glib compile if G_GINT64_FORMAT is undefined (1.92 KB, patch)
2002-03-05 15:53 UTC, Sven Neumann
none Details | Review

Description Sven Neumann 2002-03-05 15:51:33 UTC
If G_GINT64_FORMAT or G_GUINT64_FORMAT are undefined, glib doesn't compile
because it tries to register a value_transform_func with undefined
functions. I'll attach a small patch that fixes this problem by enclosing
the calls to g_value_register_transform_func() in #ifdef's.
Comment 1 Sven Neumann 2002-03-05 15:53:18 UTC
Created attachment 6988 [details] [review]
patch to make glib compile if G_GINT64_FORMAT is undefined
Comment 2 Owen Taylor 2002-03-05 17:11:59 UTC
Go ahead and commit.
Comment 3 Sven Neumann 2002-03-05 18:09:58 UTC
2002-03-05  Sven Neumann  <sven@gimp.org>

 * gvaluetransform.c (g_value_transforms_init): don't try to 
 register undeclared value transform functions if G_GINT64_FORMAT
 or G_GUINT64_FORMAT are undefined (#73586).