[mpir-devel] probable_prime_p.c missing from windows build

2010-01-08 Thread Chris Pirazzi
Hi, I tried to call mpz_probable_prime_p() on 1.3.0-rc4 with VS2008Express and it compiled but did not link, because the file probable_prime_p.c is missing from build.vc9/lib_mpir_p0/lib_mpir_p0.vcproj I fixed that one file on my computer but of course the real fix has to go into the legions of

[mpir-devel] Re: Bug in longlong.h on Windows

2010-01-08 Thread Chris Pirazzi
I ran into the same prob with 1.3.0-rc4. FWIW after correcting the errant z: #define count_trailing_zeros(c,x) \ do { unsigned long _z;\ ASSERT ((x) != 0); \ _BitScanForward(&z, (x)); \ (the &z should be &_z) c