| delorie.com/archives/browse.cgi | search |
| DMARC-Filter: | OpenDMARC Filter v1.4.2 delorie.com 644LrKjn292381 |
| 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 644LrKjn292381 |
| 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=BCjM9I+U | |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 10B7B4BAD17F |
| DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
| s=default; t=1777931598; | |
| bh=mk8hBI9dQM+URxwec8yYQq1FD/hlSxsYksQfGT5TNHs=; | |
| h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: | |
| List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: | |
| From; | |
| b=BCjM9I+Uf8PSRVY7Inm/ikr+5FRYTAOg5m0Yc5WVN3x7lU4H5eGhp/znA/S+FnDpa | |
| 5lVhqDlrphq+lQC9qwPBEOG19ptWGTzpE14F8PY8S2sVann0EtRiL1K+qZOr9BjGLh | |
| vHz4aEgXVE/tE7KXCU0Q3ccJbIHsrKS6hXHcD2Ow= | |
| X-Original-To: | cygwin AT cygwin DOT com |
| Delivered-To: | cygwin AT cygwin DOT com |
| DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org 164214BA79A4 |
| ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org 164214BA79A4 |
| ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777931540; cv=none; |
| b=kHo2o6zAKEj4nIP2BfaqnW5uqp4HQFDmzHZbE2s6i3PmzB2ACXZlKVwwXoDDQWFl19CF2qM1kh//h3zr2GN075g42jzHg5SlqiUBxAfvMrIoxFd6i3GaT6jMTwrLxi1CFVebyA/sGN5tgN+ypkikfTt8GST42DEw0c+MFrhB4Vk= | |
| ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key; |
| t=1777931540; c=relaxed/simple; | |
| bh=/qBmvBmH3d1waWRmwvwVxQRsy1jf1f7XmoCXgBwAVWg=; | |
| h=DKIM-Signature:Subject:To:From:Message-ID:Date:MIME-Version; | |
| b=C7ADscoW2swiXgD5VW/DIDZ2onNQtoAPGaMXFKZbYWHY1c1lO3qd4ChqeBStj/cDg0GkWZNE6DzcqYEbMhp5SKdV9QNsc/gjOnXaMLwBesSmlhxUdc7A+hOVO0Qzbui4WSVJU7UmvhV+DAqga5cqQG1RrJjkRjazKrclofRouU0= | |
| ARC-Authentication-Results: | i=1; server2.sourceware.org |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 164214BA79A4 |
| Subject: | Re: wcwidth broken with gcc 16 |
| To: | cygwin AT cygwin DOT com |
| 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> | |
| Organization: | WiseMo A/S |
| Message-ID: | <fbbeb91a-4c5a-dbe6-1bb3-206cf14a73bc@wisemo.com> |
| Date: | Mon, 4 May 2026 23:52:05 +0200 |
| X-Mailer: | Epyrus/2.2.0 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <e362b49c-521c-4cd5-8963-c17d5770619b@SystematicSW.ab.ca> |
| X-Content-Filtered-By: | Mailman/MimeDel 2.1.30 |
| 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: | Jakob Bohm via Cygwin <cygwin AT cygwin DOT com> |
| Reply-To: | Jakob Bohm <jb AT wisemo DOT com> |
| 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> |
| X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id 644LrKjn292381 |
On 03/05/2026 18:14, Brian Inglis via Cygwin wrote: > On 2026-05-03 06:00, Thomas Wolff via Cygwin wrote: >> Am 03.05.2026 um 12:58 schrieb Dimitry Andric: >>> On 3 May 2026, at 12:47, Thomas Wolff via Cygwin <cygwin AT cygwin DOT com> >>> wrote: >>>> Am 03.05.2026 um 07:35 schrieb ASSI via Cygwin: >>>>> Thomas Wolff via Cygwin writes: >>>>>> Observed with gcc 16: >>>>>> For a number of character ranges, mainly (but not only) from CJK >>>>>> ranges, wcwidth incorrectly reports width 1 instead of 2, 0, or -1. >>>>>> Test file attached. >>>>> Can you report this upstream, please? >>>> I couldn't yet test it with gcc 16 on Linux as there is no Debian >>>> package. >>>> Did you test it? >>> It looks like BSD-based libc gives 1 for U+D7C6, U+D7CB and U+D7CB, >>> while glibc gives 0. >> Thanks. Despite some differences, none of them gives the broken >> results of gcc-16 on cygwin, so I wonder whether it makes sense to >> report upstream at this time. > > It appears that libiberty does not contain any mb/wc macros/functions, > , and only contains safe-ctype IS... macros/functions with fixed ASCII > characters. > > Does gcc, like most GNU products, include some release of gnulib? > Could gnulib or gcc config detect some lack of support and "fix" > newlib-cygwin support of Unicode properties declared in > wchar.h/wctype.h, or used in i18n, libunistring, and Unicode string > functions, especially if doing any kind of cross-bootstrap? > > Â Â Â Â https://www.gnu.org/software/gnulib/MODULES.html > > I also note that w32api-headers/runtime are gcc runtime dependencies > and hope they are used only in COFF/PE-related generation? > Under Cygwin, does wcwidth() use Cygwin-provided table, derived either from upstream Unicode data or from Windows OS APIs that use OS bundled Unicode data? -- Jakob Bohm, CIO, partner, WiseMo A/S. https://www.wisemo.com Transformervej 29, 2860 Soborg, Denmark. direct: +45 31 13 16 10 <tel:+4531131610> This message is only for its intended recipient, delete if misaddressed. WiseMo - Remote Service Management for PCs, Phones and Embedded -- 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 |