delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/04/22:22:27

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=PN5+hPaqZ4celpt/plnVKjXxWu6KuoQ0oZCShg7UPVC
s+BCaKrBayu7z+GRALktXjWEhMKT63kxlgVjeL9y8cTrXd92tdC+0bX99RfSWqfS
2MwzVqyjCCkovmDCb6NAqDwtTBFLIIfSS39vY5W8EBU0xo2wDYrJNJTjnx811f2Y
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=3n+OmPkcjZKnIs8Fi1jhsdNo+CE=; b=YRtb1+MPxnHz6R8di
VUVy8wayomA6oHO9CpjqDbnt8NpVLro5Q4WiIy9RMf6IxlcR7eHbIoJuiGrmgFy2
syo4Wxmu0xXl4d+NVTc8yN9yEfCpArlpvKd09vrpj54Ak2aSyr9mq7YmK+aI6w7v
JDLb1PdGDebLTbq/jT/ZoPslbA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: limerock03.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Message-ID: <54D2E1A2.7010100@cornell.edu>
Date: Wed, 04 Feb 2015 22:21:06 -0500
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: gcc warning about MPFR header version
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>
In-Reply-To: <87egq58kqk.fsf@Rainer.invalid>
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019