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 122068 - Some files in libcroco 0.3.0 are not ISO C89
Some files in libcroco 0.3.0 are not ISO C89
Status: RESOLVED DUPLICATE of bug 117805
Product: libcroco
Classification: Core
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libcroco maintainers
libcroco maintainers
Depends on:
Blocks:
 
 
Reported: 2003-09-11 23:52 UTC by jbuck
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4



Description jbuck 2003-09-11 23:52:01 UTC
Some files in libcroco will not compile with many C compilers, because
they use the C++ feature of declaring variables anywhere.  The two files
that have this problem are

src/seleng/cr-sel-eng.c
src/layeng/cr-lay-eng.c

To see it, just try building with a 2.9x C compiler.

The fix is simple: just move the declarations to occur before the first
g_return_val_if_fail call.
Comment 1 jbuck 2003-09-11 23:55:56 UTC

*** This bug has been marked as a duplicate of 117805 ***