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 346494 - prototype mismatch in glib/gconvert.c
prototype mismatch in glib/gconvert.c
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
2.12.x
Other NetBSD
: Normal critical
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2006-07-03 20:55 UTC by Thomas Klausner
Modified: 2006-07-22 17:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Patch fixing the problem. (378 bytes, patch)
2006-07-03 20:56 UTC, Thomas Klausner
none Details | Review

Description Thomas Klausner 2006-07-03 20:55:50 UTC
In glib-2.12.0, glib/gconvert.c contains:

extern const char **_g_charset_get_aliases (const char *canonical_name) G_GNUC_
INTERNAL;

while glib/gutf8.c contains:
const char ** G_GNUC_INTERNAL
_g_charset_get_aliases (const char *canonical_name)

i.e. the G_GNUC_INTERNAL part is at the wrong place in glib/gconvert.c.
This breaks the build on NetBSD/amd64.
Comment 1 Thomas Klausner 2006-07-03 20:56:18 UTC
Created attachment 68323 [details] [review]
Patch fixing the problem.
Comment 2 Matthias Clasen 2006-07-22 17:40:15 UTC
2006-07-22  Matthias Clasen  <mclasen@redhat.com>

        * glib/gconvert.c: Fix the prototype of _g_charset_get_aliases.
        (#346494, Thomas Klausner)