Another problem is in the test functions for the ux/sx functions, we
use %lld in the format specifier for an intmax_t. This is only valid
if intmax_t is actually a long long int, which it is not on some *nix
platforms (ia64 for example).

C99 introduced a new format specifier (which I forgot already) for
intmax_t. Of course this is only supported by C99 compilers. I hope
MSVC is C99 compliant enough to have gotten this right, otherwise we
have a lot of fiddling around to do.

Bill.

On 12 October 2012 20:34, Bill Hart <goodwillh...@googlemail.com> wrote:
> That actually won't work. For C++ we must include stdint.h and not limits.h.
>
> Bill.
>
> On 12 October 2012 20:32, Brian Gladman <b...@gladman.plus.com> wrote:
>> -----Original Message----- From: Bill Hart Sent: Friday, October 12, 2012
>> 8:30 PM To: mpir-devel@googlegroups.com Subject: Re: [mpir-devel] MPIR 2.6.0
>> alpha1 released
>> Oh no it doesn't, I made a mistake. It has #if defined( _STDINT_H ) ||
>> defined ( _STDINT_H_ ) || defined ( _STDINT )
>>
>> ========================
>> I was about to query this :-)
>>
>> We will need to include limits.h to pick up LLONG_MAX
>>
>>
>>   Brian
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "mpir-devel" group.
>> To post to this group, send email to mpir-devel@googlegroups.com.
>> To unsubscribe from this group, send email to
>> mpir-devel+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/mpir-devel?hl=en.
>>

-- 
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to mpir-devel@googlegroups.com.
To unsubscribe from this group, send email to 
mpir-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en.

Reply via email to