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 diagnost
Bjarni Ingi Gislason wrote:
> CC lib/libgnu_a-chdir-long.o
> ../lib/chdir-long.c: In function 'chdir_long':
> ../lib/chdir-long.c:129:23: warning: call to 'strspn' declared
> with attribute warning: strspn cannot work correctly on character
> strings in multibyte locales - use mbsspn if you
While experimenting using the module "posixcheck" included in
"groff" I got these warnings:
N.B. Some lines are folded.
CC lib/libgnu_a-chdir-long.o
../lib/chdir-long.c: In function 'chdir_long':
../lib/chdir-long.c:129:23: warning: call to 'strspn' declared
with attribute warning: str