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 329459 - pango-utils.c,pangocairo-font.c: illegal structure declaration
pango-utils.c,pangocairo-font.c: illegal structure declaration
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
1.11.x
Other All
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2006-02-01 13:31 UTC by Kazuki Iwamoto
Modified: 2006-02-01 16:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kazuki Iwamoto 2006-02-01 13:31:14 UTC
Please describe the problem:
These are syntex error in pango/pango-utils.c and pango/pangocairo-font.c.

Steps to reproduce:
1. compile pango-utils.c and pangocairo-font.c

Actual results:
following messages are displayed. (Visual C++ 6.0)
pango-utils.c(61) : error C2059: syntax error : '}'
pangocairo-font.c(29) : error C2059: syntax error : '}'

Expected results:
pango-utils.c
-PangoWarningHistory _pango_warning_history = {};
+PangoWarningHistory _pango_warning_history;

pangocairo-font.c
-PangoCairoWarningHistory _pango_cairo_warning_history = {};
+PangoCairoWarningHistory _pango_cairo_warning_history;

Does this happen every time?
every time

Other information:
Comment 1 Behdad Esfahbod 2006-02-01 16:19:31 UTC
I'm not quite sure why these are invalid.  Anyway, I filled them in, so they should not be a problem anymore.

2006-02-01  Behdad Esfahbod  <behdad@gnome.org>

        * pango/pango-utils.c, pango/pangocairo-font.c: Initialize warning
        history structs more explicitly. (bug #329459)