vasnprintf: add support for printing wide characters using escapes

2020-04-19 Thread Bruno Haible
printf or fprintf is often used for debugging purposes. In native Windows programs, one of the most frequent types is a wide string (wchar_t[]). But there is no working primitive for printing such a wide string: all of printf("%ls"), _putws, etc. fail if the wide string contains characters that are

Re: conflicting types for 'socklen_t' | MinGW

2020-04-19 Thread Bruno Haible
> In file included from ../../../../src/gdb-9.1/gnulib/import/sys_socket.c:3: > ./sys/socket.h:533:13: error: conflicting types for 'socklen_t' > 533 | typedef int socklen_t; > |^ This may be related to . Bruno