configure.ac: Fix comment.

I spent a lot of time looking at how gnulib "manywarnings" works, and
this comment reflects my improved understanding.
This commit is contained in:
Richard W.M. Jones
2012-12-07 12:32:49 +00:00
parent 47511ddbc9
commit f5e9e2780b

View File

@@ -143,11 +143,13 @@ if test "$gl_gcc_warnings" = yes; then
gl_WARN_ADD([$w])
done
# Normally we disable warnings in $nw above. However for some
# unknown reason that doesn't always work, and we need to explicitly
# list a few disabled warnings below.
# Normally we disable warnings in $nw above. However $nw only
# filters out exact matching warning strings from a list inside
# gnulib (see m4/manywarnings.m4). So we need to explicitly list a
# few disabled warnings below.
gl_WARN_ADD([-Wno-unused-parameter]) # Unused parameters are not a bug.
# Unused parameters are not a bug.
gl_WARN_ADD([-Wno-unused-parameter])
# Missing field initializers is not a bug in C.
gl_WARN_ADD([-Wno-missing-field-initializers])