On Mon, Aug 01, 2005 at 01:23:05PM -0400, Vinod Kurup wrote:
> Compiling AOLserver 4.0.10 on Linux (Debian unstable) with GCC 4.0
> fails like this:
> 

Indeed, the same sort of patch is included in the debian pkg since stable time,
to solve the issue for the amd64 arch.

> conn.c: In function 'NsTclConnObjCmd':
> conn.c:843: error: invalid lvalue in assignment
> make[1]: *** [conn.o] Error 1
> make[1]: Leaving directory `/home/vinod/temp/aolserver-4.0.10/nsd'
> make: *** [all] Error 1
> 
> This seems to be a change in GCC 4.0.
> http://mail.gnome.org/archives/gnome-accessibility-devel/2005-January/msg00004.html
> 
> Applying this patch to nsd/conn.c fixes it.
> 
> --- nsd/conn.c~ 2003-08-05 15:56:05.000000000 -0400
> +++ nsd/conn.c  2005-08-01 12:08:38.000000000 -0400
> @@ -840,7 +840,7 @@
>     }
> 
>     result  = Tcl_GetObjResult(interp);
> -    connPtr = (Conn *) conn = itPtr->conn;
> +    connPtr = conn = (Conn *) itPtr->conn;
> 

-- 
Francesco P. Lovergine


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to