[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Patch] CVS-Guile dump.c compilation problems
From: |
Dirk Herrmann |
Subject: |
Re: [Patch] CVS-Guile dump.c compilation problems |
Date: |
Thu, 15 Feb 2001 22:54:01 +0100 (MET) |
On 15 Feb 2001, Matthias Koeppe wrote:
> I compile Guile with the Sun Workshop 6 update 1 ("Forte") compiler.
> The compiler complains about code in `scm_undump', where you try to
> take the address of SCM_CDR(obj) and SCM_CAR(obj). This is probably
> not a good idea because SCM_CDR(obj) is not guaranteed to be an
> lvalue. Another issue was a signed/unsigned discrepancy.
>
> A patch is attached below.
IMO, a better solution would be to use SCM_C[AD]RLOC, which is defined in
gc.h.
Best regards,
Dirk Herrmann