This is the mail archive of the guile@sourceware.cygnus.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: Macros, SCM and strict typing (cont'd)



> 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.

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