diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2021-03-07 13:47:02 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2021-03-07 13:47:02 -0800 |
commit | f0d3a4d726d16b77b3fe7fb155b29ab792452a4f (patch) | |
tree | 4d8b4a2868f403c77d76f605d6566a63c3e34f4e | |
parent | c7c26eb67ead3094be7bd9c2fd7bf79f2a5b25c7 (diff) | |
download | gnulib-f0d3a4d726d16b77b3fe7fb155b29ab792452a4f.tar.gz gnulib-f0d3a4d726d16b77b3fe7fb155b29ab792452a4f.tar.bz2 |
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.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | doc/manywarnings.texi | 8 |
2 files changed, 11 insertions, 5 deletions
@@ -1,3 +1,11 @@ +2021-03-07 Paul Eggert <eggert@cs.ucla.edu> + + 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 <bruno@clisp.org> sysexits: Fix for Haiku. diff --git a/doc/manywarnings.texi b/doc/manywarnings.texi index cb2cf295ef..1b3e5907be 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 |