compound expression as lvalue errors.
+2004-05-26 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * gc.h (SCM_CELL_OBJECT_LOC): use SCM_GC_CELL_OBJECT to prevent
+ compound expression as lvalue errors.
+
2004-05-24 Marius Vollmer <mvo@zagadka.de>
* dynwind.c (winder_mark): Use SCM_PACK to correctly convert the
(SCM_GC_SET_CELL_OBJECT ((x), 1, (v)))
-#define SCM_CELL_OBJECT_LOC(x, n) (&SCM_CELL_OBJECT ((x), (n)))
+#define SCM_CELL_OBJECT_LOC(x, n) (SCM_VALIDATE_CELL((x), &SCM_GC_CELL_OBJECT ((x), (n))))
#define SCM_CARLOC(x) (SCM_CELL_OBJECT_LOC ((x), 0))
#define SCM_CDRLOC(x) (SCM_CELL_OBJECT_LOC ((x), 1))