[PPL-devel] Re: Problem (with fix) concerning GMP's C++ random number class

Kevin Ryde user42 at zip.com.au
Wed Nov 6 23:34:14 CET 2002


Roberto Bagnara <bagnara at cs.unipr.it> writes:
>
> a strictly conforming C++ compiler,

For instance?  g++ 3.2 -pedantic has no objections to the current
code.

> + extern "C" typedef void GMP_RANDINIT_DEFAULT(gmp_randstate_t);

Can this be private to gmp_randclass, or given within the definitions
of the constructors?  If not then they'll want to be prefixed like
__gmp_randinit_default_t, or some such.



More information about the PPL-devel mailing list