On Apr 12, 3:09 am, "Sisyphus" <sisyph...@optusnet.com.au> wrote:
> Hi,
>
> More about my problems with the MinGW64 compiler later. In the meantime, I
> notice that my gmp.h fails to add the "-std=gnu99" switch to __GMP_CC. It
> adds it for __MPIR_CC, but not __GMP_CC.
> This happens with both my MinGW64 compiler, and mingw.org's 32 bit
> (gcc-3.4.5) compiler.
>

This happens on all systems , I'll do a fix

> Also, I find in gmp.h:
>
> #define __GNU_MP_VERSION 5
> #define __GNU_MP_VERSION_MINOR 0
> #define __GNU_MP_VERSION_PATCHLEVEL 1
> #define GMP_VERSION "5.0.1"
>
> Not sure that we really want that when mpz_powm_sec (available only with
> gmp-5) is missing from the mpir implementation.

Yep , we made a decision not to do an mpz_powm_sec as we didn't think
that a general bignum library was the right place for a "secure" powm,
although barring that , we should put some note on the website

> I have some code that relies on the value of __GNU_MP_VERSION to determine
> whether mpz_powm_sec is available or not. Using the mpir replacement, that
> obviously doesn't work. (Easily fixed in my code, of course, by checking
> also whether __MPIR_VERSION is defined.)
>
> Cheers,
> Rob (with all fingers crossed ... )

-- 
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