I have to say, I am a bit bothered by all these test programs having
#include config.h. This isn't available to the user, and surely all
the test programs should operate just as user programs would and
therefore should not need to include config.h.

Bill.

On 12 October 2012 21:03, Bill Hart <goodwillh...@googlemail.com> wrote:
> OK, now I have it working on x86_64. I'll try on ia64.
>
> The only problem on x86_64 is that it doesn't know what to do if you
> do a C++ assignment from an long long int, so I just guarded the test
> code that tries that by checking if long long is a different type to
> long. Otherwise it gets confused (for reasons I don't pretend to
> understand fully).
>
> Bill.
>
> On 12 October 2012 20:56, Bill Hart <goodwillh...@googlemail.com> wrote:
>> It appears to be defined in limits.h on *nix if you use C, but
>> stdint.h if you use C++.
>>
>> Bill.
>>
>> On 12 October 2012 20:55, Brian Gladman <b...@gladman.plus.com> wrote:
>>> -----Original Message----- From: Bill Hart Sent: Friday, October 12, 2012
>>> 8:44 PM To: mpir-devel@googlegroups.com Subject: Re: [mpir-devel] MPIR 2.6.0
>>> alpha1 released
>>> Yes, but you can't include limits.h in mpirxx.h. If you do, it will
>>> screw up on linux. So we will just have to add something different for
>>> Windows.
>>>
>>> As things currently stand, the cxx code passes on ia64, but not
>>> x86_64. So still more screwing around on linux before this is right.
>>>
>>> ======================
>>>
>>> Then we need:
>>>
>>> #ifdef MSC_VER
>>> #  include <limits.h>
>>> #endif
>>>
>>> where is LLONG_MAX defined on *nix?
>>>
>>>
>>>    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