chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] long pointer equivalent


From: Peter Keller
Subject: Re: [Chicken-users] long pointer equivalent
Date: Sun, 18 Aug 2002 01:52:33 -0500
User-agent: Mutt/1.2i

On Sat, Aug 17, 2002 at 08:55:06PM -0400, Perry E. Metzger wrote:
> Don't forget "long long". On many platforms, things like off_t's are
> long longs...

Technically, "long long" is a lie. :) It isn't in the ANSI spec, is
haphazardly implemented by compilers(unless you use gcc, which does
imeplement it) and WILL BE A PROBLEM if you use -fnostrict-alias since
the compiler DOES NOT keep a long long value in contiguous memory unless
you _specifically_ store it in a union. One 32 bit segment can be in a
register and one 32 bit segment on the stack, so be warned.

-pete




reply via email to

[Prev in Thread] Current Thread [Next in Thread]