Paul Eggert wrote: > This pacifies a warning from default clang 21 I see -Wstring-plus-int warnings also in
test-vasnprintf-posix2.c:199:48: warning: adding 'size_t' (aka 'unsigned long') to a string does not append to the string test-vasnprintf-posix2.c:236:48: warning: adding 'size_t' (aka 'unsigned long') to a string does not append to the string test-vasnprintf-posix2.c:313:48: warning: adding 'size_t' (aka 'unsigned long') to a string does not append to the string test-vasnprintf-posix2.c:419:48: warning: adding 'size_t' (aka 'unsigned long') to a string does not append to the string test-vasnwprintf-posix2.c:205:43: warning: adding 'size_t' (aka 'unsigned long') to a string does not append to the string test-vasnwprintf-posix2.c:215:43: warning: adding 'size_t' (aka 'unsigned long') to a string does not append to the string test-vasnwprintf-posix2.c:265:43: warning: adding 'size_t' (aka 'unsigned long') to a string does not append to the string test-vasnwprintf-posix2.c:344:43: warning: adding 'size_t' (aka 'unsigned long') to a string does not append to the string But it would be silly to change this code. The warning essentially says "Hey, this is not Python. This is C. Did you know how the + operator is defined in C?" This warning ought to be ignored by all C programmers. Bruno
