[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Axiom-developer] GCL 2.5 and XDR
From: |
David MENTRE |
Subject: |
Re: [Axiom-developer] GCL 2.5 and XDR |
Date: |
09 Mar 2003 13:02:20 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
root <address@hidden> writes:
> a problem with GCL. We need the XDR functions and they are part
> of the GCL 2.4.1 and GCL 2.5 distributions. However, if I enable
> them in GCL 2.5 I get the following failures:
>
> gcc -c -Wall -DVOL=volatile -fsigned-char -fwritable-strings -pipe -O6
> -fomit-frame-pointer -I/home/axiomgnu/new/lsp/gcl-2.5/o -I../h -I../gcl-tk
> funlink.c
> In file included from funlink.c:836:
> xdrfuns.c: In function `siGxdr_open':
> xdrfuns.c:38: invalid use of void expression
Here is the needed patch :
--- xdrfuns.c.orig Sun Mar 9 12:55:27 2003
+++ xdrfuns.c Sun Mar 9 12:57:36 2003
@@ -35,7 +35,7 @@
xdrstdio_create(xdrs, f->sm.sm_fp,
(f->sm.sm_mode == smm_input ? XDR_DECODE :
f->sm.sm_mode == smm_output ? XDR_ENCODE :
- FEerror("stream not input or output",0)))
+ (FEerror("stream not input or output",0),XDR_ENCODE)))
;
return ar;
}
Best regards,
d.
--
address@hidden