>From f0d3a4d726d16b77b3fe7fb155b29ab792452a4f Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 7 Mar 2021 13:47:02 -0800 Subject: [PATCH] manywarnings: modernize documentation Problem reported by Reuben Thomas in: https://lists.gnu.org/r/bug-gnulib/2021-03/msg00046.html * doc/manywarnings.texi (manywarnings): Update in the light of recent changes to the manywarnings module. --- ChangeLog | 8 ++++++++ doc/manywarnings.texi | 8 +++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index a0c19fed6..cf72e260e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2021-03-07 Paul Eggert + + manywarnings: modernize documentation + Problem reported by Reuben Thomas in: + https://lists.gnu.org/r/bug-gnulib/2021-03/msg00046.html + * doc/manywarnings.texi (manywarnings): Update in + the light of recent changes to the manywarnings module. + 2021-03-07 Bruno Haible sysexits: Fix for Haiku. diff --git a/doc/manywarnings.texi b/doc/manywarnings.texi index cb2cf295e..1b3e5907b 100644 --- a/doc/manywarnings.texi +++ b/doc/manywarnings.texi @@ -12,11 +12,9 @@ An example use of the module is as follows: gl_MANYWARN_ALL_GCC([warnings]) # Set up the list of the pointless, undesired warnings. nw= -nw="$nw -Wsystem-headers" # Don't let system headers trigger warnings -nw="$nw -Wundef" # All compiler preprocessors support #if UNDEF -nw="$nw -Wtraditional" # All compilers nowadays support ANSI C -nw="$nw -Wconversion" # These warnings usually don't point to mistakes. -nw="$nw -Wsign-conversion" # Likewise. +nw="$nw -Winline" # It's OK to not inline. +nw="$nw -Wstrict-overflow" # It's OK to optimize strictly. +nw="$nw -Wsystem-headers" # Don't let system headers trigger warnings. # Enable all GCC warnings not in this list. gl_MANYWARN_COMPLEMENT([warnings], [$warnings], [$nw]) for w in $warnings; do -- 2.27.0