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 386760 - gstring.c: redefinition of formal parameter 'size'
gstring.c: redefinition of formal parameter 'size'
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
2.12.x
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2006-12-17 12:16 UTC by Kazuki Iwamoto
Modified: 2006-12-17 14:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kazuki Iwamoto 2006-12-17 12:16:44 UTC
Please describe the problem:
g_string_chunk_new was modified, please see following url.
http://cvs.gnome.org/viewcvs/glib/glib/gstring.c?r1=1.51&r2=1.52

The formal parameter 'size' is redefined.
To resolve the error, remove the redefinition.

Steps to reproduce:
1. compile gstring.c

Actual results:
A compiler will display error messages.

Expected results:
I suggest that 'size' within the function body is renamed.

Does this happen every time?
every time

Other information:
Comment 1 Matthias Clasen 2006-12-17 14:54:20 UTC
Sorry about that. Fixed now.