delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/11/08/01:31:49

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 649F23858429
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1636353108;
bh=t1HtvpeVsRiald27QBgqZZmPHgeqRwqUvW3fFiaF2ac=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=C9xO29X21JEp+WnGKYPn8MNiH54O7vE7shoxCTC9OhlHRRpfkZidn8sYlcE9JdlI8
MdZNJmexk2HKNiOat2C4Y/7pNde2rYJpJtxJu4ipyHTZ6hWz24pD/D/CGQQLOFHrsn
3ns5znn0R1gimKwLUj9lsWNQb47ZY0Q4OuX8PwsQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BEEAC3858401
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=LPR1KCfqu4L5FMlZVzgCmy/cCJccjdSd2LCV9bUHgAisuedmmpRJ0LiVF9qFo/pXZPRJdnmzdZQicnzEpjMUk2OwuTk88RlNkqO7epJc2h7wjIgxQ6Vgu2tSMPvYPEJEkLMVPnagGN2XhjjSjgVrI3TJV+lDqCD3g6gog/R5gdGS/1CDx5zNAahIb9xlIiW4mnu/2PG+zDWQDxuFLG3JwcX9n2jYqXAfbZIO5emQ3TE7hmFwmQ7fBUqQXwHXNX/ON78/42KAEXH4uou/QNSoK/vb7zv4DVukK7TppqQHm+/b2C7KRFnpqZwJinrItwneqaPTP+3kZ7/0A8eoAJeQTQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
bh=TmdPy2OcFYSNWqCJb7SN+WTcsHotcsaYKzPAO9sOHjw=;
b=KL60kqimJ2O9tJahG3cJc6UDuXUW/lqtQdfUOkSN4yxNEty47vxTt6g8Oe7EcTjddfj3vl/DL+clmOYVwoX6NnOyLXjzGwGgnsuMCOJ5Atpm+L3nr+gwbyOCTIerfK1Pjszg2aqfqs+CTG6kC7DDb8UNcDifc3U5aWz37atxs1WjsHVHvPbJrsUgeV+X36vvIN9856OPAdChoxxkJcP1LcNlwFLpIdYATVC7bt5Cp/k8p4ieNl6KuIIuqt6nUnVDhDTnJ1nEEr3EBZa6UQqobjEqYUkxvpOayilEMUDqhb+pEWKwqnid78258XGenATtVIx013405xvsWdoAL+R+0w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
dkim=none; arc=none
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Cygwin 3.3.1 tgmath.h plus log10() gives "error: no matching function
for type-generic call"
Thread-Topic: Cygwin 3.3.1 tgmath.h plus log10() gives "error: no matching
function for type-generic call"
Thread-Index: AQHX1GjgUfvn5MEqXkyZ51IKS3cH3A==
Date: Mon, 8 Nov 2021 06:31:14 +0000
Message-ID: <DB9P194MB1385AF5261149E62FACFFD5282919@DB9P194MB1385.EURP194.PROD.OUTLOOK.COM>
Accept-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-tmn: [67QWNnC6c0ISdsPS1pRfFhsItR06E6SG]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 2462d107-071c-4dd9-51c3-08d9a2815d5b
x-ms-traffictypediagnostic: DB8P194MB0872:
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: BSWGmZFTL2Idj5OqIt+GlaRrQa7vq+LwcTJl8GPT9I8fAtb21WzmRUMmj5ijfRDeYzpiym+2I28ncZsOwRMWKoOD1CAfMu+mwdEJ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/ImDLS4itIiZhN4ILC5AOxfvCnC1a3OHtsvS4+jjiuzJa0aSThE38Z4mX2bcuIwAHvEnqUcRbYFRA6K6DpBqX+Y9yV7bXaseWCiZkAvTcthmf6LwhvEv/Op3cTh6myFyMeT/eWjLKzHZCawwbus5n07qfptzeUuDNFagBUuMnWw1Kw/W5mI0rqANh15jv9GW8h08krGjySwpR8OlSUvq
MIME-Version: 1.0
X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-98ab5.templateTenant
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DB9P194MB1385.EURP194.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 2462d107-071c-4dd9-51c3-08d9a2815d5b
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Nov 2021 06:31:14.9197 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8P194MB0872
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: "Ed . via Cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Ed ." <ej_zg AT hotmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 1A86Vn4U026224

Dear Cygwin folks,

As shown in this run of PDL (Perl Data Language)’s CI, our new use of tgmath.h is causing a problem with log10:

https://github.com/PDLPorters/pdl/runs/4134966240?check_suite_focus=true

The error is:

In file included from pp-log10.c:56:
1744<https://github.com/PDLPorters/pdl/runs/4134966240?check_suite_focus=true#step:11:1744>ops.pd: In function ‘pdl_log10_readdata’:
1745<https://github.com/PDLPorters/pdl/runs/4134966240?check_suite_focus=true#step:11:1745>ops.pd:321:35: error: no matching function for type-generic call

The line numbers aren’t directly meaningful due to my enthusiastic use of #line in the project, but I believe the error is triggered by calling log10() with an unsigned char. This appears to work fine on GCC on Linux (and Windows, and with clang on MacOS).

I tried for some time to find out which versions of GCC, glibc etc Cygwin 3.3.1 includes, and was unsuccessful. The best I could see was that the Choco package seems to also include “[Cygwin] 11 install gcc-core 11.2.0-1”.

Any pointers (ha!) gratefully received.

Best regards,
Ed

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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