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 AT delorie DOT 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 AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT 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 AT cygwin DOT 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: <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> <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> <87pl2bab08 DOT fsf AT Gerda DOT invalid> <2a39e204-bd8b-4511-bd34-703899600e9e AT towo DOT net> <87ldcza133 DOT fsf AT Gerda DOT invalid> <21ca1d38-7b82-49af-b954-b83141237843 AT towo DOT 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 AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: ASSI via Cygwin Reply-To: ASSI Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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