This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: guile bugs
- To: Mikael Djurfeldt <mdj AT mdj-pc.nada.kth.se>
- Subject: Re: guile bugs
- From: Miroslav Silovic <silovic AT zesoi.fer.hr>
- Date: 16 Sep 1999 13:11:42 +0200
- Cc: Greg Badros <gjb AT cs.washington dot edu>, Jim Blandy <jimb AT red-bean dot com>, Jay Belanger <jay AT vh213601.truman dot edu>, scwm-discuss AT scwm.mit dot edu, guile AT sourceware.cygnus dot com, djurfeldt AT nada.kth.se
- References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu> <m34sgvcttc.fsf@savonarola.red-bean.com> <qrrvh9bl8ix.fsf_-_@elwha.cs.washington.edu> <xy7vh9bi4ed.fsf@mdj-pc.nada.kth.se> <7eemfzp1xr.fsf@zesoi.fer.hr> <xy7u2ovhzn4.fsf@mdj-pc.nada.kth.se>
Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se> writes:
> Miroslav Silovic <silovic@zesoi.fer.hr> writes:
>
> > I fully agree with the above sentiment, however, it's not the main
> > problem. The main problem is that C compiler won't report errors like
> >
> > if (scm_procedure_p(foo))
>
> Greg's suggestion # 2 will solve this problem.
Not really - pointers will autocast into a boolean without a warning.
Incidentally I just tested passing and returning structs rather than
pointers to them. gcc won't use registers. Even worse, gcc 2.95
generates unimplemented instruction on SPARC (can we say D'oh! bug?)
--
How to eff the ineffable?