GNOME Bugzilla – Bug 117805
version 0.3.0 does not compile with gcc 2.95
Last modified: 2004-12-22 21:47:04 UTC
Does not compile with gcc 2.95: cr-sel-eng.c:140 cr-sel-eng.c:792 cr-lay-eng.c:1221
cr_lay_eng.c in cvs has a function call before a declaration. This seems to be the problem.
Okay, I will fix this asap. Thank you for the bug report. Dodji.
Created attachment 19371 [details] [review] Patch to fix this
Created attachment 19372 [details] [review] Patch for cr-lay-eng.c
*** Bug 122068 has been marked as a duplicate of this bug. ***
The bug is still present in the libcroco that shipped with Gnome 2.4. Two files are affected.
The proposed patch dated 8/20 is wrong! It moves a dereference of a pointer to occur before the check. Also, it fixes only one of the two files that miscompile.
Created attachment 19886 [details] [review] Proper patch for cr-lay-eng.c
Patch 19371 fixes cr-sel-eng.c
This is fixed in CVS Now.