Re: GMP 6.3.0: Failure building on MinGW (defaulting to ABI=64)

2023-12-11 Thread sisyphus
On Mon, Dec 11, 2023 at 7:40 PM Simon Sobisch wrote: > [snip] > The question is still why the ABI 64 is chosen on this system. Any idea? > You might get some hints if you compare the config.log for this (succeeding) build against the config.log for the (failing) build for which no ABI argument

Re: issue with Microsoft compiler

2023-02-13 Thread sisyphus
Hi Paul, Before including gmp.h, try: #pragma warning(disable:4146) That works for me with compiler version 19.33.31630 for x64. Cheers, Rob ___ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs

Re: 2 minor issues on Windows

2022-01-20 Thread sisyphus
On Sun, Jan 16, 2022 at 9:24 PM George Woltman wrote: > The problem is that while _LONG_LONG_LIMB is defined, the definition of > mp_bitcnt_t ought to also use "long long". > I get this compiler warning calling mpz_tstbit: warning C4244: 'argument': > conversion from 'uint64_t' to

Re: GMP Problem with % under C++

2020-11-06 Thread sisyphus
On Fri, Nov 6, 2020 at 8:27 AM Niels Möller wrote: > [snip] > > So your problem really is with % in C++, GMP just follows the > conventions for the builtin integers. > Rather, the OP is expecting that the ''%" operator in his C++ program will behave as mpz_mod() does - which is the same way as