bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: uninorm/composition.c:75:22: runtime error


From: Paul Eggert
Subject: Re: uninorm/composition.c:75:22: runtime error
Date: Sat, 5 Mar 2022 13:06:20 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 3/4/22 05:21, Bruno Haible wrote:
Paul, do you agree that it's a good idea to add an explicit cast, to avoid
implicit conversion from 'unsigned char' to 'char'?

As you noted, there's no language reason to do it. It would be a change put in only to pacify Clang, in an area where Clang is buggy. So I'd leave the code alone and would use clang's -fno-sanitize-recover to work around the Clang bug. It might also help to file a bug report with the Clang folks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]