bug-gnulib
[Top][All Lists]
Advanced

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

Re: i18n warnings


From: Paul Eggert
Subject: Re: i18n warnings
Date: Fri, 2 Feb 2024 09:19:19 -0800
User-agent: Mozilla Thunderbird

On 2/2/24 01:53, Bruno Haible wrote:
* For functions whose second argument is a character, such as 'strchr',
   we can probably play with __builtin_constant_p.

Another idea is to suppress the warnings in a library module where the warnings are a false alarm. For example, mbschr.c calls strchr only when MB_CUR_MAX is 1, so that warning about strchr is bogus. As I vaguely recall, the warnings Bjarni mentioned are in this category.



reply via email to

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