guile-devel
[Top][All Lists]
Advanced

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

Re: scm_short2num warning [was: guile on mac OSX]


From: Ken Raeburn
Subject: Re: scm_short2num warning [was: guile on mac OSX]
Date: Sun, 07 Oct 2001 23:37:12 -0400
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.106

Marius Vollmer <address@hidden> writes:

>       * num2integral.i.c (INTEGRAL2NUM): Let the preprocessor test
>       whether the integral type fits in a fixnum, not the compiler.
>       This removes a spurious compiler warning.  Also, honor the
>       NO_PREPRO_MAGIC flag to suppress any preprocessor tests.  This is
>       needed for `long long's.
>
>       * numbers.c: Define NO_PREPRO_MAGOC when including
>       num2integral.c.i for `long long' and `signed long long'.

NO_PREPRO_MAGIC is also needed for the ptrdiff_t variant, when the
PTRDIFF_MIN definition using casts is used.  Otherwise the build blows
up for me on Solaris.



reply via email to

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