Re: Constructor taking 64-bit integer missing on (some) Windows C++ compilers

2020-06-09 Thread Vincent Lefevre
On 2020-06-09 10:21:31 +0200, Marc Glisse wrote: > On Tue, 9 Jun 2020, Niels Möller wrote: > > > Marc Glisse writes: > > > > > On Sat, 6 Jun 2020, Mihai Preda wrote: > > > > > > > I would rather suggest to support intmax_t and uintmax_t. > > > > > > That's one possibility for C (and C++,

Re: Constructor taking 64-bit integer missing on (some) Windows C++ compilers

2020-06-09 Thread Marc Glisse
On Tue, 9 Jun 2020, Niels Möller wrote: Marc Glisse writes: On Sat, 6 Jun 2020, Mihai Preda wrote: I would rather suggest to support intmax_t and uintmax_t. That's one possibility for C (and C++, although it is a bit more painful there), but not one that everyone agrees with. I think the

Re: Constructor taking 64-bit integer missing on (some) Windows C++ compilers

2020-06-09 Thread Hans Åberg
> On 6 Jun 2020, at 06:28, Mihai Preda wrote: > > At this point the C++ compiler on windows (where long is 32-bit) > reports errors, see at the end. The problem is that the set of > constructors does not include one taking a 64-bit integer: > > #define __GMPXX_DEFINE_ARITHMETIC_CONSTRUCTORS