| delorie.com/archives/browse.cgi | search |
| 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:date:from:to:subject:message-id:in-reply-to | |
| :references:mime-version:content-type:content-transfer-encoding; | |
| q=dns; s=default; b=GCyhnVrWDt3/SdQjH8bUP7238MuTx91DbxV502p4661 | |
| 5yBG0Zs1YBR6uGNXAWSyktlulFr1DauLQAby6ejstEBfClMAFp97DC4+rOjPkmN1 | |
| LOhmmdkthY3tigGcckOvGlw1VUYjYgHdp7Yh9Xjk50okE2SsaXvdo9zTT5/4/Niw | |
| = | |
| 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:date:from:to:subject:message-id:in-reply-to | |
| :references:mime-version:content-type:content-transfer-encoding; | |
| s=default; bh=2xFztTM55lt35mRX2t6j7HfJxgE=; b=KYz1uTJjwl28YdyKO | |
| lG6IMZVLg6IQIfuPxQKpvM/lShrQWfROOVnbDhLusZQpM78sD9epyVg1mBqf8jHP | |
| 0AJI2mLJFm2CfeNPDOoNUslaf6ENcKkF3yNw7oGxDw4eAmd5Vtp1Y+Xd/HpesCtC | |
| vxyVV7zPOTlTfsJAapTn9HyEXI= | |
| 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=0.5 required=5.0 tests=BAYES_05,KAM_MX4,SPF_PASS autolearn=no version=3.3.2 spammy=UD:ne.jp, D*ne.jp, H*F:D*ne.jp |
| X-HELO: | conssluserg-02.nifty.com |
| DKIM-Filter: | OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com u3EA0J61007230 |
| X-Nifty-SrcIP: | [175.179.203.217] |
| Date: | Thu, 14 Apr 2016 19:00:25 +0900 |
| From: | Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: multiple definition of `atan2l' on the current Cygwin |
| Message-Id: | <20160414190025.fec117c21bb05fd0ac28592e@nifty.ne.jp> |
| In-Reply-To: | <20160414075205.GD1264@calimero.vinschen.de> |
| References: | <888012 DOT 8502 DOT qm AT web101106 DOT mail DOT kks DOT yahoo DOT co DOT jp> <20160412133924 DOT GO9870 AT calimero DOT vinschen DOT de> <58477 DOT 93886 DOT qm AT web101112 DOT mail DOT kks DOT yahoo DOT co DOT jp> <neltp4$c89$1 AT ger DOT gmane DOT org> <20160414075205 DOT GD1264 AT calimero DOT vinschen DOT de> |
| Mime-Version: | 1.0 |
| X-IsSubscribed: | yes |
Hi Corinna,
On Thu, 14 Apr 2016 09:52:05 +0200
Corinna Vinschen wrote:
> If it's that simple, why does my STC (or a simple variation thereof) not
> complain?
It is because optimizer removes the function call.
Try:
$ cat > m.cc <<EOF
#include <cstdio>
#include <cmath>
int main()
{
long double x, y;
scanf("%Lf %Lf", &x, &y);
printf("%Lf\n", atan2l(x,y));
return 0;
}
EOF
$ g++ m.cc -lm
--
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |