[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Use 'long long' integers in Rational class.
From: |
Han-Wen Nienhuys |
Subject: |
Re: Use 'long long' integers in Rational class. |
Date: |
Thu, 18 Sep 2008 21:00:38 -0300 |
They appear if you use -Wall with compiling lilypond. I'm on fedora
9, which has a pretty recent gcc though.
On Thu, Sep 18, 2008 at 3:49 PM, Neil Puttock <address@hidden> wrote:
> 2008/9/18 Han-Wen Nienhuys <address@hidden>:
>> Neil, could you also fix the warnings that this change generated? You
>> should use scm_from_int64, scm_to_int64 for conversions, otherwise
>> we'll get truncations in various corner cases.
>
> Sorry Han-Wen, I haven't seen any warnings. Are they from Guile?
>
> Should the typedef be changed to int64_t if we're using the above type
> conversions, since they're for exact 64 bit integers?
>
> Regards,
> Neil
>
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
Use 'long long' integers in Rational class., Adam Wilson, 2008/09/26