Re: libcroco troubles.



Quoting Pat Suwalski <pat suwalski net>:
> 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)

I haven't tried compiling myself but looks like a classic gcc-2.95 error as all 
variables must be declared before they're used anything assigned to them).

Try using gcc-3.X or adjust the code (if you know how) and send a patch to the 
maintainers.

HTH.




-- 
*******************
* Simon J.P. Wong *
*******************



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