On Thu 31 Jan 2013 17:57, Alexei Matveev <alexei.matv...@gmail.com> writes:

>>    static const scm_t_bits my_false = 0x4;
>>    static const scm_t_bits my_true = 0x404;
>>    static const scm_t_bits my_nil = 0x104;
>>    static const scm_t_bits my_eof = 0xa04;
>>    static const scm_t_bits my_eol = 0x304;
>>    static const scm_t_bits my_unspecified = 0x804;
>
> I get slightly different values for 1.8 (32 bit x86)

Yes, it is possible to have different values for these.  They are part
of the ABI, not the API.  As such, the values of these constants are the
same throughout one stable release series.  So they have one set of
values for 1.8, another for 2.0, another for 2.2, etc.

In theory they are architecture-dependent but in practice they are the
same on all architectures, 32-bit or 64-bit, ARM or x86, etc.

> I used this slightly modified code to get those numbers:

Go ahead and generate Fortran code, I would say :)  No sense in
bothering to generate C.

Cheers,

Andy
-- 
http://wingolog.org/

Reply via email to