On 5 Jun 2000, bernard URBAN wrote:

> cc -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl -g -c sort.c  -KPIC -DPIC -o sort.o
> "sort.c", line 488: unacceptable operand for unary &
> "sort.c", line 558: unacceptable operand for unary &
> "sort.c", line 558: unacceptable operand for unary &
> "sort.c", line 573: unacceptable operand for unary &
> "sort.c", line 573: unacceptable operand for unary &
> "sort.c", line 610: unacceptable operand for unary &
> "sort.c", line 610: unacceptable operand for unary &
> "sort.c", line 625: unacceptable operand for unary &
> "sort.c", line 625: unacceptable operand for unary &
> "sort.c", line 701: left operand must be modifiable lvalue: op "="
> "sort.c", line 702: left operand must be modifiable lvalue: op "="
> "sort.c", line 715: cannot recover from previous errors
> cc: acomp failed for sort.c
> 
> It is related to taking the & of SCM_CAR, and at line 701 by having
> SCM_CAR as an lvalue.

Should be fixed in cvs now.

> And finally the following, related to SCM_SUBFR also at lvalue place:
> 
> cc -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl -g -c procs.c  -KPIC -DPIC -o procs.o
> "procs.c", line 98: a cast does not yield an lvalue
> "procs.c", line 107: cannot recover from previous errors
> cc: acomp failed for procs.c

Fixing this should be easy, it only requires to replace
  SCM_SUBRF (z) = fcn;
by
  SCM_SET_SUBRF (z, fcn);
Where SCM_SET_SUBRF is defined as:
  #define SCM_SET_SUBRF(x,v) (SCM_SET_CELL_WORD_1 ((x), (v)))
However, there is no macro SCM_SET_SUBRF yet, and I don't know whether I
should provide it in procs.h, or rather in procs.c?

> Outside of that, there remain only some warnings about pointer to
> signed used instead of pointer to unsigned or the converse.

Could you post these, too, please?

Best regards
Dirk

Reply via email to