Paul Eggert: > What a mess this stuff is. Maybe it would be simpler to disable all -W > options by default under Clang.
That would be a bit extreme. Some of the clang warnings are as useful as the corresponding GCC warnings. Some clang warnings signal problems for which GCC does not have the corresponding detection logic (I mean, the multithread/locking warnings). But we can certainly add to the macro gl_CC_GNULIB_WARNINGS in m4/gnulib-common.m4 some more of the pointless or useless clang warnings. Although that would not help in Darren Kenny's case, since he is probably seeing the warnings in code outside gnulib, that happens to #include <regex.h>. Bruno