This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Macros, SCM and strict typing (cont'd)
- To: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Subject: Re: Macros, SCM and strict typing (cont'd)
- From: Jim Blandy <jimb at red-bean dot com>
- Date: 16 Mar 2000 16:04:31 -0500
- Cc: Guile Mailing List <guile at sourceware dot cygnus dot com>
- References: <Pine.LNX.4.21.0003151107330.27077-100000@marvin.ida.ing.tu-bs.de>
> Does anybody know if there is an option to switch off single GNU
> extensions, especially the 'cast to union' extension?
I'm pretty sure there isn't. It would naturally appear in the ``C
Dialect Options'' node of the GCC manual, but it doesn't.
> If so, I suggest the following patch to tags.h, which provides the SCM_EQ_P
> predicate macro to compare different SCM values as with eq?, which is what
> comparing SCM values with == is about. (no line number for the patch, since
> my local version differs a lot.)
Yes, I think this is best. It compiles to the same code. I'd just
call it SCM_EQ.