Re: libcroco garnome 0.27.1



the patch in attach fixes this bug.

Regards

Gaël (strider)



On Sun, 2003-11-16 at 16:17, JayZuZ wrote:
> Hello all
> 
> Using garnome 0.27.1 on SuSe 8.0 and getting the
> following errors while compiling gnome-desktop etc.
> Any ideas?
> 
> Thanks in advance
> 
> jay
> 
> cr-sel-eng.c: In function `id_add_sel_matches_node':
> cr-sel-eng.c:139: parse error before `result'
> cr-sel-eng.c:148: `id' undeclared (first use in this
> function)
> cr-sel-eng.c:148: (Each undeclared identifier is
> reported only once
> cr-sel-eng.c:148: for each function it appears in.)
> cr-sel-eng.c:152: `result' undeclared (first use in
> this function)
> cr-sel-eng.c:162: warning: control reaches end of
> non-void function
> cr-sel-eng.c: In function
> `put_css_properties_in_hashtable':
> cr-sel-eng.c:792: parse error before `*'
> cr-sel-eng.c:801: `decl' undeclared (first use in this
> function)
> make[4]: *** [cr-sel-eng.lo] Error 1
> make[4]: Leaving directory
> `/home/jayzuz/garnome-0.27.1/gnome/libcroco/work/main.d/libcroco-0.3.0/src/seleng'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/home/jayzuz/garnome-0.27.1/gnome/libcroco/work/main.d/libcroco-0.3.0/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/jayzuz/garnome-0.27.1/gnome/libcroco/work/main.d/libcroco-0.3.0'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory
> `/home/jayzuz/garnome-0.27.1/gnome/libcroco/work/main.d/libcroco-0.3.0'
> make: *** [build-work/main.d/libcroco-0.3.0/Makefile]
> Error 2
> 
> ________________________________________________________________________
> Want to chat instantly with your online friends?  Get the FREE Yahoo!
> Messenger http://mail.messenger.yahoo.co.uk
--- libcroco-0.3.0/src/seleng/cr-sel-eng.c~	Sun Jun 29 17:49:40 2003
+++ libcroco-0.3.0/src/seleng/cr-sel-eng.c	Thu Sep 18 21:42:59 2003
@@ -130,14 +130,14 @@
 id_add_sel_matches_node (CRAdditionalSel *a_add_sel,
                          xmlNode *a_node)
 {
+        xmlChar *id = NULL ;
+        gboolean result = FALSE ;
         g_return_val_if_fail (a_add_sel 
                               && a_add_sel->type == ID_ADD_SELECTOR
                               && a_add_sel->content.id_name
                               && a_add_sel->content.id_name->str
                               && a_node, FALSE) ;
 
-        gboolean result = FALSE ;
-        xmlChar *id = NULL ;
 
         g_return_val_if_fail (a_add_sel
                               && a_add_sel->type == ID_ADD_SELECTOR
@@ -786,10 +786,10 @@
         for (cur_decl = a_stmt->kind.ruleset->decl_list ; 
              cur_decl ; cur_decl = cur_decl->next)
         {
+                CRDeclaration *decl = NULL ;
+
                 if (!cur_decl->property || !cur_decl->property->str)
                         continue ;
-
-                CRDeclaration *decl = NULL ;
 
                 /*
                  *First, test if the property is not
--- libcroco-0.3.0/src/layeng/cr-lay-eng.c~	Sat Jul  5 23:08:56 2003
+++ libcroco-0.3.0/src/layeng/cr-lay-eng.c	Thu Sep 18 21:45:39 2003
@@ -1214,11 +1214,12 @@
                   CRBox *a_cur_box)
 {
         enum CRStatus status = CR_OK ;
+        CRBox *cont_box = NULL;
 
         g_return_val_if_fail (a_cur_box && a_cur_box->style,
                               CR_BAD_PARAM_ERROR) ;
         
-        CRBox *cont_box = a_cur_box->parent ;
+        cont_box = a_cur_box->parent ;
 
         /************************************
          *We are in a block formating context 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]