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



On Friday 21 April 2006 12:27, you wrote:
> 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
There is no gtk-devel but gtk2-devel as far as I can see from yast system 
update.
>
> ?
>
> Not mentioning MPlayer which can be installed from the
> Packman repo.
That is what I did  first. It didn't work...
>
> > 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...
I downgraded to gcc 3.4.6 as they (MPlayer) mention 3.x compilers are OK. Then 
compiled Gtk and MPlayer with it.
Ok. This may not be your problem and you may had enough about it. I wish that 
packman did work. Really :)
>
> Yeti
Thanks Yeti.
>
>
> --
> That's enough.
OK.



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