Paul Eggert wrote: > I recommend avoiding -Wsign-compare when compiling Gnulib .c files, as > the false positive rate is too large.
+1. We already document this in the Gnulib manual: https://www.gnu.org/software/gnulib/manual/html_node/manywarnings.html More generally, we turn off such warnings for most of the Gnulib code, through the variable GL_CFLAG_GNULIB_WARNINGS, set through m4/gnulib-common.m4. Therefore, we *don't want to hear* about warnings of these categories: -Wcast-qual -Wconversion -Wfloat-conversion -Wfloat-equal -Wpedantic -Wsign-compare -Wsign-conversion -Wtautological-out-of-range-compare -Wtype-limits -Wundef -Wunsuffixed-float-constants -Wunused-function -Wunused-parameter Bruno
