Re: [gtk-list] problem compiling GTK 1.1.1 (IRIX)



On Thu, Aug 13, 1998 at 04:47:19PM +0000, Winfred van Kuijk wrote:
> I'm new to this mailing list, so bear with me...
> I have been compiling GTK 1.0.5 and earlier without
> problems, but run into the following when compiling
> 1.1.1.
> 
> For gtkclist:
> -------------------------------------------------------------------
> "gtkclist.c", line 1919: error(1133): expression must be a modifiable lvalue
>         GPOINTER_TO_INT (list->data) = row2; 
>         ^

just change that to

list->data = GINT_TO_POINTER(row2);

> ....
> -------------------------------------------------------------------
> 
> And similar for gtkctree:
> -------------------------------------------------------------------
> ....
> "gtkctree.c", line 2514: error(1133): expression must be a modifiable lvalue
>         GTK_CTREE_NODE_PREV (node) = GTK_CTREE_NODE_PREV (sibling);
>         ^
> 
> "gtkctree.c", line 2515: error(1133): expression must be a modifiable lvalue
>         GTK_CTREE_NODE_NEXT (list_end) = sibling;
> ....
> -------------------------------------------------------------------

these ones will be harder, I don't know what those expand to ...

George

-- 
------------------------------------------------------------------------------
George Lebl <jirka@5z.com> http://www.5z.com/jirka/
------------------------------------------------------------------------------
  The following implements RSA in perl and is illegal to export from the US:

          #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
          $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
          lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)



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