This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Re: guile ughs?
- To: Han-Wen Nienhuys <hanwen at cs dot uu dot nl>
- Subject: Re: guile ughs?
- From: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Date: Tue, 18 Jul 2000 18:12:57 +0200 (MEST)
- cc: guile at sourceware dot cygnus dot com
On Tue, 18 Jul 2000, Han-Wen Nienhuys wrote:
> > > What are these warts supposed to do?
> > >
> > > srcprop.c:265: warning: pointer/integer type mismatch in conditional
> > > expression
> > > srcprop.c:265: warning: pointer/integer type mismatch in conditional
> > > expression
> > > srcprop.c:274: warning: pointer/integer type mismatch in conditional
> > > expression
> > > srcprop.c:274: warning: pointer/integer type mismatch in conditional
> > > expression
> > >
> > >
> > > read.c:682: warning: assignment makes pointer from integer without a
> > > cast
> > > read.c:687: warning: assignment makes pointer from integer without a
> > > cast
> >
> > Hmmm.... I don't see these messages when I make guile. Could you please
> > give more details about the way you built guile?
>
> with the boehm patch, ie.
>
> typedef struct scm_cell * SCM;
>
>
> (void * is dangerous due to automatic conversions from and to void*)
Fixed in current cvs. The reason was that the return value from
SCM_SETCDR was used, but there is no such thing (or at least it is not
supposed to be used.) Thanks for the bug report.
Best regards
Dirk