Re: pango-utils.h versus gcc2.95.x



On Thu, 12 Jan 2006 mpsuzuki hiroshima-u ac jp wrote:

> Hi,
>
> When I build pango-1.10.2, gcc-2.95.3 cannot compile
> pango-utils.h correctly. Following part is refused as,
> In file included from fribidi.c:25:
> ../../pango/pango-utils.h:101: parse error before `gboolean'
>
>  98 /* Unicode characters that are zero-width and should not be rendered
>  99  * normally.
> 100  */
> 101 G_GNUC_CONST gboolean pango_is_zero_width (gunichar ch);

Thanks for the report.  The workaround is to simply remove
G_GNUC_CONST, or move it to just before the semicolon.  Matthias
reported the bug here:

  http://bugzilla.gnome.org/show_bug.cgi?id=326847

I'll be fixing that instantly.

behdad




> this part is introduced in
> http://cvs.gnome.org/viewcvs/pango/pango/pango-utils.h?r1=1.16&r2=1.17
>
> It seems that gcc3 (and possibly gcc4) can compile the part.
> Any idea to work with gcc-2.95.x?
>
> Regards,
> mpsuzuki
>
>

--behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
	-- Dan Bern, "New American Language"



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