On 2/1/24 14:55, Bruno Haible wrote:
If you want to use the function 'mbsspn', then yes you need to import
the corresponding module ('mbsspn') via gnulib-tool.

Sure, but in this case Bjarni didn't want to use that module; it was pulled in by a dependency. And as far as I can tell, the diagnostics he got were (in some sense) all false positives.

How about if we separate out the "if you care about internationalization" diagnostics into a separate category, enabled if GNULIB_UNUSUAL_ENCODING_CHECK is defined, instead of GNULIB_POSIXCHECK? These diagnostics aren't so much about POSIX as they are about GB18030 and other unusual encodings, and since they generate so many false positives they're good candidates for a separate category.

Reply via email to