guile-devel
[Top][All Lists]
Advanced

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

Re: long_long and ulong_long deprecated


From: stefan
Subject: Re: long_long and ulong_long deprecated
Date: Sun, 2 Sep 2001 09:37:09 +0200 (CEST)

On Sat, 1 Sep 2001, Rob Browning wrote:

> > Working on the Win32 port of Guile for future release I noticed long_long
> > and ulong_long being deprecated. Could anyone explain it ?
> 
> And actually I had been planning to see about adding a decent
> scm2longlong and longlong2scm (or similar 64bit converters) to
> libguile for a while.  I have a hacked version in g-wrap, but it would
> be nice to see a native version.

So actually you meant to deprecate the use of "long long"
(HAVE_LONG_LONGS) and not the typedefs ?

> Alternately, I suppose we could just expect the user to use the scm_
> bitshift operations to do whatever they need to do.  This used to be a
> problem b/c those operations were broken, but I think they may be
> fixed now.

I had no problem with the gcc or MSVC to write something like:
(ulong_long) 1 << 63;
Both compilers deliver the correct result.

Cheers,
        address@hidden




reply via email to

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