delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/23/01:38:30

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=Caj2N7FCaiT8TalG
bVORiZkQZMuvJbBy0EpZZOlPi22VlRkxjVWKnxNI8kizBM2V+XqksDJVGnl6paTh
iZOTVzJW8jX1qOyMllxwFxgvzwUL+5ZBia4bCmizh2/zyFPfOKA8PYLsbiyhcVQa
ynYPh+2Zn0/ZccDwp8SnXe2Y6L4=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=kJDa5IU0bikHU0KMoUnbnY
X/lhA=; b=t0tDsSl7Y7WIiekjys5HoVhOsN8DcCht1fqChtfer19xPdkJSoBxhD
v0s1G0hiBR9kfV5ZGXVFH5Yv/WmeXsGszT/ZIyOFELeMDuAsYnGspkQqljOz7NoP
eFzi6qOdghwWjywnzGu7D1ezpRGRk/NkGaFMfxqN0w87ypN1Funnk=
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=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*i:sk:CAHvsux, ravi, H*f:sk:CAHvsux
X-HELO: mail-wm0-f43.google.com
X-Received: by 10.28.171.135 with SMTP id u129mr29558141wme.99.1450852684945; Tue, 22 Dec 2015 22:38:04 -0800 (PST)
Subject: Re: Unable to successfully include cstdlib.h in gcc-g++-4.9.3-1
To: cygwin AT cygwin DOT com
References: <CAHvsuxkFrRn4_Z4NWCT_17csKUo_fFvYhVTCb2bg1BwW_ZwqaA AT mail DOT gmail DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <567A412C.70507@gmail.com>
Date: Wed, 23 Dec 2015 07:37:32 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
MIME-Version: 1.0
In-Reply-To: <CAHvsuxkFrRn4_Z4NWCT_17csKUo_fFvYhVTCb2bg1BwW_ZwqaA@mail.gmail.com>
X-IsSubscribed: yes


On 23/12/2015 04:30, ravi r wrote:
> When the configure script of RQuantLib package tries to check for boost
> development files by compiling this program
>
>          $ cat > /tmp/conftest.cpp <<-EOF
>          #include <boost/version.hpp>
>          #include <boost/shared_ptr.hpp>
>          #include <boost/assert.hpp>
>          #include <boost/current_function.hpp>
>
>          int main () {
>                  ;
>                  return 0;
>          }
>          EOF
>
> it gets this error
>
>          $ g++ -m32 -c -O2 -Wall -mtune=3Dcore2  -I/usr/local/include -fpermissiv
> e
>           /tmp/conftest.cpp


why "/usr/local/include" and not "/usr/include" ?
You should use the libboost-devel header package

>
> This is on a 64 bit cygwin installation over windows 7.
>
> The definition in cstdlib.h which is source of the problem is
>      177 #if !defined(__STRICT_ANSI__) && defined(_GLIBCXX_USE_INT128)
>      178   inline __int128
>      179   abs(__int128 __x) { return __x >=3D 0 ? __x : -__x; }
>      180 #endif
>
> I have cygwin package libboost-devel-1.58.0-1 installed.

but you are not using it...


--
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