This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: gcc warning about MPFR header version
- From: Ken Brown <kbrown at cornell dot edu>
- To: cygwin at cygwin dot com
- Date: Wed, 04 Feb 2015 22:21:06 -0500
- Subject: Re: gcc warning about MPFR header version
- Authentication-results: sourceware.org; auth=none
- References: <54D23A4B dot 4060807 at cornell dot edu> <87mw4t8yoh dot fsf at Rainer dot invalid> <54D27F84 dot 2030709 at cornell dot edu> <87egq58kqk dot fsf at Rainer dot invalid>
On 2/4/2015 3:50 PM, Achim Gratz wrote:
Ken Brown writes:
On 2/4/2015 10:49 AM, Achim Gratz wrote:
Ken Brown writes:
While trying to build clisp on x86_64 Cygwin with 'gcc -v', I got the following:
warning: MPFR header version 3.1.2 differs from library version 3.1.2-p11.
Does this indicate a problem, or can it be safely ignored?
You need to install the latest version of libmpfr-devel (should be 3.1.2-2).
That's what I have.
You should have this:
--8<---------------cut here---------------start------------->8---
$ grep MPFR_VERSION /usr/include/mpfr.h
#define MPFR_VERSION_MAJOR 3
#define MPFR_VERSION_MINOR 1
#define MPFR_VERSION_PATCHLEVEL 2
#define MPFR_VERSION_STRING "3.1.2-p11"
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
#define MPFR_VERSION \
MPFR_VERSION_NUM(MPFR_VERSION_MAJOR,MPFR_VERSION_MINOR,MPFR_VERSION_PATCHLEVEL)
--8<---------------cut here---------------end--------------->8---
I do have this, and I have no other version of the header. But this
> #define MPFR_VERSION \
> MPFR_VERSION_NUM(MPFR_VERSION_MAJOR,MPFR_VERSION_MINOR,MPFR_VERSION_PATCHLEVEL)
yields a value of MPFR_VERSION that doesn't include the "-p11". Maybe that's
what confused gcc. Anyway, it sounds like it's not a problem.
Ken
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple