This is the mail archive of the guile@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: guile ughs?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]