DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 651565QO3202888
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 651565QO3202888
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=BVg9OMtC
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB0154BA2E3F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1780290364;
	bh=kde5myqcvirQlWdqyxl2jUvdXTDThhVG5ygLzk5dsQA=;
	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=BVg9OMtC7GtJzlg0JiS7h5XJITWR05Fkk1l40xSrt5dyUFprL5dwOo4PCZ9YyKa3x
	 oh6EQvooS4t/UMGHDO4/KYqQhnkkVlAeGKcptn8YqMlcJw1S0Jsf1bognSMdBTV9Bs
	 mGo+3grvixcS+bkmSTIZkogiaQOjWHxYG+tBdEgs=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 87A264BA2E0F
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 87A264BA2E0F
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780290314; cv=none;
 b=ILiKDqAkoQ+80/6aunVw4glPH34r66kMQzJdtHMIgJGnY5I0M7Nm989FZWFZnXZ1qROcLeK1IF7ftXhA3N94R0MWffy7JqSoq6CsF6APh5fawS8ZTF8RFJTiEZinrGHnW5+hQN6UMsNufosWWI6bOs30Wxb+uwSdvUVxbclrgPA=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1780290314; c=relaxed/simple;
 bh=MwheqrqS0Wpo3gQDMmJR2TIYwJvczVfq/18qF57xwSI=;
 h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;
 b=YD5J2qyZJWbW+oleOpr2hq9LNm9WS2/xnUrI02IgttpJJuSLNPRX6L/PDNkeWwev5KuxzzZD5UFHGXUwtGS0AJgQxhExizf76xE3FmyJfWXY8wcfGfxojjhidIG3lv/+GyEOhUKTddVlC87Kpy1UsqeH6HKRt15iCIDGzsGlSI0=
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=IHkvnAyx
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 87A264BA2E0F
To: cygwin@cygwin.com
Subject: Re: wcwidth broken with gcc 16
In-Reply-To: <21ca1d38-7b82-49af-b954-b83141237843@towo.net> (Thomas Wolff via
 Cygwin's message of "Mon, 1 Jun 2026 04:11:52 +0200")
References: <a9676834-0368-4a8a-88b0-da5e9483b536@towo.net>
 <874ikpawdk.fsf@Gerda.invalid>
 <8ff2ab8d-dfdc-459c-96f3-ed4a4f451440@towo.net>
 <0140C1F4-CA22-46DE-AE21-69C5427C59B5@unified-streaming.com>
 <e94174b7-ea9b-45ca-bfd3-7979ce988920@towo.net>
 <e362b49c-521c-4cd5-8963-c17d5770619b@SystematicSW.ab.ca>
 <fbbeb91a-4c5a-dbe6-1bb3-206cf14a73bc@wisemo.com>
 <4f885156-7772-43d7-ab72-c88f0a7d1e52@towo.net>
 <112594ad-3c25-4dad-b1bc-071b4951ed98@towo.net>
 <97f0f3c6-9f2c-429c-aa8e-875b7806b275@towo.net>
 <8733z9jpfj.fsf@Gerda.invalid>
 <b70d8366-8970-4cdc-a693-6d826fe76277@towo.net>
 <b8c1571a-1956-4316-a6a9-32176b6c7c80@towo.net>
 <87pl2bab08.fsf@Gerda.invalid>
 <2a39e204-bd8b-4511-bd34-703899600e9e@towo.net>
 <87ldcza133.fsf@Gerda.invalid>
 <21ca1d38-7b82-49af-b954-b83141237843@towo.net>
Date: Mon, 01 Jun 2026 07:04:59 +0200
Message-ID: <8733z626mc.fsf@>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
X-purgate-server: smtpa01
X-purgate-type: clean
X-purgate: clean
X-purgate-size: 849
X-purgate-ID: 155817::1780290306-6F7FE624-69FA5984/0/0
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: ASSI via Cygwin <cygwin@cygwin.com>
Reply-To: ASSI <Stromeko@nexgo.de>
Content-Type: text/plain; charset="utf-8"
Errors-To: cygwin-bounces~archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 651565QO3202888

Thomas Wolff via Cygwin writes:
> You explain what I had already conceded before, that I had overlooked
> the prototype and the intended functionality did not work:
>   printf("%d\n", wcwidth(0x13000));  // should be 1
>   printf("%d\n", wcwidth(0x1F500));  // should be 2
>
> So why not establish that functionality with an easy tweak that does
> not interfere with anything?

Which part of "you must not change a standard public API" is unclear to
you?  Especially when it would make things binary incompatible?
WCHAR_MAX is 0xffffu on Cygwin, so the above is illegal input to
wcwidth and it never worked.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

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

