Re: Missing commas in the distribution of glib-1.2.10 and 1.2.9



On Fri, Apr 21, 2006 at 12:00:44PM +0300, Kaya Onur wrote:
> It seems that lines 870,1037,1080 and 1111 of the gstrfuncs.c file in the 
> distribution of glib-1.2.10 and 1.2.9. are missing a comma in the parameter 
> list of g_warning()

No, this use of __PRETTY_FUNCTION__ is broken with recent
gcc altogether:

  In GCC 3.3 and earlier, in C only, `__FUNCTION__' and
  `__PRETTY_FUNCTION__' were treated as string literals;
  they could be used to initialize `char' arrays, and they
  could be concatenated with other string literals.  GCC 3.4
  and later treat them as variables, like `__func__'.

> I needed Gtk+1.2 to build MPlayer which complained about having Gtk+-2 (on 
> Open Suse 10) and insisted on Gtk+-1.2.

And what is wrong with

  yast -i gtk-devel

?

Not mentioning MPlayer which can be installed from the
Packman repo.

> I cannot imagine that I am the first one to face this problem! Am I ???

The only people who compile glib 1.x with gcc 4.x are
probably distro package maintainers and they know how to fix
it...

Yeti


--
That's enough.



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