Anyone want this one?  If not, I'll go fix it.

Jason Worth Martin
Asst. Professor of Mathematics
http://www.math.jmu.edu/~martin



On Fri, Oct 31, 2008 at 9:14 PM, mabshoff
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> the following popped up on gmp-bugs. The fix is correct and was
> proposed by Mickael Gastineau.
>
> Cheers,
>
> Michael
>
> [begin quote]
> Hi,
>
> The functions gmp_urandomb_ui and gmp_urandomm_ui are defined in the
> gmp
> library but are not exported correctly to build the windows DLL. They
> aren't prefixed by
> __GMP_DECLSPEC in the header file gmp-h.in (and so gmp.h) (e.g. with
> gmp 4.2.4) but they
> are well documented:
>
>
> #define gmp_urandomb_ui __gmp_urandomb_ui
> unsigned long gmp_urandomb_ui __GMP_PROTO ((gmp_randstate_t, unsigned
> long));
>
> #define gmp_urandomm_ui __gmp_urandomm_ui
> unsigned long gmp_urandomm_ui __GMP_PROTO ((gmp_randstate_t, unsigned
> long));
>
>
> It sould be replaced by :
>
> #define gmp_urandomb_ui __gmp_urandomb_ui
> __GMP_DECLSPEC  unsigned long gmp_urandomb_ui __GMP_PROTO
> ((gmp_randstate_t, unsigned long));
>
> #define gmp_urandomm_ui __gmp_urandomm_ui
> __GMP_DECLSPEC  unsigned long gmp_urandomm_ui __GMP_PROTO
> ((gmp_randstate_t, unsigned long));
>
>
>
> I use the native microsoft compiler (cl.exe) available with the
> windows SDK (2203R2 and 2008).
>
> Mickael,
>
>
> -- ********************************************** * Mickael Gastineau
> * Institut de Mecanique Celeste * CNRS UMR 8028 * 77, avenue Denfert
> Rochereau * 75014 PARIS * tel. France : 01 40 51 20 05 * fax : 01 40
> 51 20 55 * e-mail : [EMAIL PROTECTED] * http://www.imcce.fr
> **********************************************
> _______________________________________________ gmp-bugs mailing list
> [EMAIL PROTECTED] http://swox.com/mailman/listinfo/gmp-bugs
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to