| www.delorie.com/archives/browse.cgi | search |
| DMARC-Filter: | OpenDMARC Filter v1.4.2 delorie.com 64UHfsve1801498 |
| Authentication-Results: | delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com |
| Authentication-Results: | delorie.com; spf=pass smtp.mailfrom=cygwin.com |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 delorie.com 64UHfsve1801498 |
| Authentication-Results: | delorie.com; |
| dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=PzxRaJ1N | |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org A1D7B4BA79B1 |
| DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
| s=default; t=1780162913; | |
| bh=0u+kL3Avet7xKRmI5oKGWIuatqdwzj9wlSxKo7MvBZ4=; | |
| h=To:Subject:In-Reply-To:References:Date:List-Id:List-Unsubscribe: | |
| List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: | |
| From; | |
| b=PzxRaJ1NqUJ761sukORfGgwwCPc4a9PbdxRfJqP031btNt92gEwgdKAhy5JLZvGaf | |
| 9HPNpp/897loN4DwOEIgW7AZLMnHoHgFyFUOcxN946FZbd8Z9+PoyGsIn43VfG9DyU | |
| 3FzrCTsfKDJfint2ypQt3lDdYjCEQGwf/fEch0Nc= | |
| X-Original-To: | cygwin AT cygwin DOT com |
| Delivered-To: | cygwin AT cygwin DOT com |
| DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org 3AEA44BA7987 |
| ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org 3AEA44BA7987 |
| ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780162862; cv=none; |
| b=hSkZZoXZHVgW0daLdnVLH1KN8jjq0gYLZEE/5WY2mKimTkk4SacBtdv0EkKOSeZ5wntMzXq9y/73aqWZN7mbKKg33urVX3QWqvqWlGiOAES0twH3gYWbKl5yfwDI+t4OeTzatoMohKsxadcHP9ZtsO736VZgkIDVGpOxgp5sZdk= | |
| ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key; |
| t=1780162862; c=relaxed/simple; | |
| bh=+NmWw+dxeZtTfrCTLy0Q/oaPXU6gHOS8beU7g06hxOo=; | |
| h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; | |
| b=q7oCOBfDiorIV7E2nYWhKJGTkYN/9jw5sDfY9P7njvlAFDcoV1CXmfqmq+xNfXBewPBQdZLZ+NW07SOe8m68wz9PP9dtvLphGRQIooIJ9QavbKX8RDRg4Dak9p2yRZQn/OlT6qdyMlswK/Sy+ybdZQp4AdhXkkfHdZDG7ZJKsDk= | |
| ARC-Authentication-Results: | i=1; sourceware.org; |
| dkim=pass (1024-bit key, secure) header.d=nexgo.de | |
| header.i=@nexgo.de header.a=rsa-sha256 header.s=vfde-mb-mr2-23sep | |
| header.b=trlFy1Kb | |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 3AEA44BA7987 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: wcwidth broken with gcc 16 |
| In-Reply-To: | <b70d8366-8970-4cdc-a693-6d826fe76277@towo.net> (Thomas Wolff via |
| Cygwin's message of "Sat, 30 May 2026 19:05:08 +0200") | |
| References: | <a9676834-0368-4a8a-88b0-da5e9483b536 AT towo DOT net> |
| <874ikpawdk DOT fsf AT Gerda DOT invalid> | |
| <8ff2ab8d-dfdc-459c-96f3-ed4a4f451440 AT towo DOT net> | |
| <0140C1F4-CA22-46DE-AE21-69C5427C59B5 AT unified-streaming DOT com> | |
| <e94174b7-ea9b-45ca-bfd3-7979ce988920 AT towo DOT net> | |
| <e362b49c-521c-4cd5-8963-c17d5770619b AT SystematicSW DOT ab DOT ca> | |
| <fbbeb91a-4c5a-dbe6-1bb3-206cf14a73bc AT wisemo DOT com> | |
| <4f885156-7772-43d7-ab72-c88f0a7d1e52 AT towo DOT net> | |
| <112594ad-3c25-4dad-b1bc-071b4951ed98 AT towo DOT net> | |
| <97f0f3c6-9f2c-429c-aa8e-875b7806b275 AT towo DOT net> | |
| <8733z9jpfj DOT fsf AT Gerda DOT invalid> | |
| <b70d8366-8970-4cdc-a693-6d826fe76277 AT towo DOT net> | |
| Date: | Sat, 30 May 2026 19:40:50 +0200 |
| Message-ID: | <87o6hw23tp.fsf@> |
| User-Agent: | Gnus/5.13 (Gnus v5.13) |
| MIME-Version: | 1.0 |
| X-purgate-server: | smtpa06 |
| X-purgate-type: | clean |
| X-purgate: | clean |
| X-purgate-size: | 1035 |
| X-purgate-ID: | 155817::1780162857-D1CE61F1-468EEFAF/0/0 |
| X-BeenThere: | cygwin AT cygwin DOT com |
| X-Mailman-Version: | 2.1.30 |
| List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
| List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
| <mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
| 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: | ASSI via Cygwin <cygwin AT cygwin DOT com> |
| Reply-To: | ASSI <Stromeko AT nexgo DOT de> |
| Errors-To: | cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com |
| Sender: | "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com> |
Thomas Wolff via Cygwin writes: > The patch is already on the newlib mailing list. The input parameter is supposed to be wchar_t, not wint_t (per POSIX and also the previous implementation), so I#d leave that alone. > Yeah, I forgot to type-extend also the include file back in 2018 :-( > but that made no difference so far, only now in gcc 16, as explained > by Drea in that issue: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125451#c16 Just pun the type in the stub implementation, which would automatically happen (I think) since there's already an assignment of the input parameter from the POSIX wcwidth (wchar_t) to a local variable that has type wint_t. And since that's not a function call but an assignment, the promotion rules should be correct for your application without any cast. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds -- 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |