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

2010-01-08 Thread Bill Hart
Thanks Chris, I did see your report of the errant z when you registered, and which Linus also reported. Thanks. Not sure what's up with the mpn.invert. That's probably my fault, as I was the last to touch the file. We'll try to figure it out for the weekend. Bill. 2010/1/8 Chris Pirazzi : > > I r

[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

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

2010-01-08 Thread Cactus
On Jan 8, 12:19 pm, Bill Hart wrote: > Hi, > > A guy called Linus (not *the* Linus) reported the following: > > I tried to build the lib_mpir_gc Visual Studio project in MPIR > 1.3.0-rc4, and got compiler errors. It seems like the z on line 211 in > longlong.h should be a _z instead. > > Thanks