[Mpc-discuss] Problem with code in acos.c
Paul.Zimmermann at loria.fr
Mon Apr 5 22:34:48 CEST 2010
> From: "Chris Saunders" <evas at mountaincable.net>
> Date: Mon, 5 Apr 2010 15:56:37 -0400
> acos.c has this line:
> : rnd_im == GMP_RNDA ? GMP_RNDZ
> I'm using the latest SVN release of MPFR and a project for Visual Studio
> 2008 that is supposed to be able to build MPC. When I try to build the
> project I get this error:
> error C2065: 'GMP_RNDA': undeclared identifier
> GMP_RNDA does not appear in the mpfr.h that I have nor does it appear in
> gmp.h. Any ideas?
> Chris Saunders
the rounding modes were renamed MPFR_RNDX instead of GMP_RNDX in the MPFR svn.
Simply replace GMP_RNDA by MPFR_RNDA and it should work.
More information about the Mpc-discuss