snippet/warn-on-use: Don't cause wrong AC_CHECK_DECL results with clang

2022-09-20 Thread Bruno Haible
Building a gnulib testdir on native Windows, with clang and the MSVC header files, I get these errors: source='../../gltests/test-string-c++.cc' object='test-string-c++.obj' libtool=no \ DEPDIR=.deps depmode=msvc7 /bin/sh ../../build-aux/depcomp \ /home/bruno/msvc/compile clang-cl -ferror-limit=0

testdir status

2022-09-20 Thread Bruno Haible
On all relevant Unix platform, a testdir of all of Gnulib now compiles fine, with the usual configurations [1]. On all native Windows platforms (mingw, MSVC, clang/MSVC), a testdir of all of Gnulib except selected modules (see below) now compiles fine as well. Of course there are some test failur