Did you rebuild MPIR. If so, perhaps gmp.h was regenerated overwriting
your change?
Certainly inserting the #define in gmp.h along with the existing
prototypes for mpz functions fixes the problem for me in projects
(including MPFR) which require that function.
I am pretty sure that is the right f
Well I tried this. I made the suggested change to gmp.h in the root
directory of MPIR. I then rebuilt the library. I then rebuilt the MPFR
library using Brian Gladmans project for Visual Studio. After this I got
the same error.
Regards
Chris Saunders
--
Affirmative.
On 24 March 2010 20:55, Cactus wrote:
>
>
> On Mar 24, 8:51 pm, Bill Hart wrote:
>> The location may matter. I'd put it in a region where other mpz_blah
>> prototypes are given.
>>
>> You may need to recompile MPFR however.
>>
>> Bill.
>
> Make that 'may' a 'will' :-)
>
> You will h
On Mar 24, 8:51 pm, Bill Hart wrote:
> The location may matter. I'd put it in a region where other mpz_blah
> prototypes are given.
>
> You may need to recompile MPFR however.
>
> Bill.
Make that 'may' a 'will' :-)
You will have to recompile MPFR library with the new gmp.h visible
during this
The location may matter. I'd put it in a region where other mpz_blah
prototypes are given.
You may need to recompile MPFR however.
Bill.
On 24 March 2010 20:40, Chris Saunders wrote:
> I attempted this but no joy. I'm wondering if the location of the #define
> matters?
>
> Regards
> Chris Saun
I attempted this but no joy. I'm wondering if the location of the #define
matters?
Regards
Chris Saunders
--
From: "Cactus"
Sent: Wednesday, March 24, 2010 3:24 PM
To: "mpir-devel"
Subject: [mpir-devel] Re: Having problem with mpz_div_2exp
On Mar 24, 7:10 pm, Bill Hart wrote:
> I think it is only a matter of entering the given define into gmp.h. I
> don't think you'll need to rebuild the library.
>
> I understood that MPFR had changed their code to not use the
> deprecated functions. But perhaps this is in a version which has not
I think it is only a matter of entering the given define into gmp.h. I
don't think you'll need to rebuild the library.
I understood that MPFR had changed their code to not use the
deprecated functions. But perhaps this is in a version which has not
yet been released.
Bill.
On 24 March 2010 19:07
First, thanks very much for the response Bill. Now I don't think I can take
the first option because my C interface code to MPFR is not calling the
deprecated code it is the MPFR code that is doing so. In the example I gave
I was writing an interface to mpfr_get_z. For the second option do I
The function mpz_div_2exp was removed from MPIR 1.3 because it is a
very old interface which was deprecated in GMP a long time ago when
the new mpz_tdiv_q_2exp function was added, for example.
With MPIR 1.3 you have two options:
1) Replace all references to the deprecated function with the correc
This question may seem off-topic here but I don't know where else to try
asking.
I'm working on an Eiffel interface to MPIR, MPFR and MPC and the problem I'm
having right now relates to the library built by Brian Gladmans Visual
Studio 2008 MPFR project. I'm using the Eiffel compiler to build
11 matches
Mail list logo