diff options
| author | Paul Eggert | 2019-05-03 12:12:43 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-05-03 12:17:31 -0700 |
| commit | 57a1d378ff148328a65b70bb80c092dad58adac4 (patch) | |
| tree | 5243838349596a02f0108c1ee93c82838f4c9551 | |
| parent | d0fe28cb1d33daa059990d62556a8de20a385387 (diff) | |
| download | emacs-57a1d378ff148328a65b70bb80c092dad58adac4.tar.gz emacs-57a1d378ff148328a65b70bb80c092dad58adac4.zip | |
Update from Gnulib
This incorporates:
2019-05-03 Port manywarnings to GCC 9
* m4/manywarnings.m4: Copy from Gnulib.
| -rw-r--r-- | m4/manywarnings.m4 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/m4/manywarnings.m4 b/m4/manywarnings.m4 index e0488a5cb38..6bb9f8f84e8 100644 --- a/m4/manywarnings.m4 +++ b/m4/manywarnings.m4 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # manywarnings.m4 serial 17 | 1 | # manywarnings.m4 serial 18 |
| 2 | dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. |
| 3 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| @@ -112,16 +112,19 @@ m4_defun([gl_MANYWARN_ALL_GCC(C)], | |||
| 112 | gl_manywarn_set= | 112 | gl_manywarn_set= |
| 113 | for gl_manywarn_item in -fno-common \ | 113 | for gl_manywarn_item in -fno-common \ |
| 114 | -W \ | 114 | -W \ |
| 115 | -Wabsolute-value \ | ||
| 115 | -Waddress \ | 116 | -Waddress \ |
| 117 | -Waddress-of-packed-member \ | ||
| 116 | -Waggressive-loop-optimizations \ | 118 | -Waggressive-loop-optimizations \ |
| 117 | -Wall \ | 119 | -Wall \ |
| 118 | -Wattribute-alias \ | 120 | -Wattribute-warning \ |
| 119 | -Wattributes \ | 121 | -Wattributes \ |
| 120 | -Wbad-function-cast \ | 122 | -Wbad-function-cast \ |
| 121 | -Wbool-compare \ | 123 | -Wbool-compare \ |
| 122 | -Wbool-operation \ | 124 | -Wbool-operation \ |
| 123 | -Wbuiltin-declaration-mismatch \ | 125 | -Wbuiltin-declaration-mismatch \ |
| 124 | -Wbuiltin-macro-redefined \ | 126 | -Wbuiltin-macro-redefined \ |
| 127 | -Wcannot-profile \ | ||
| 125 | -Wcast-align \ | 128 | -Wcast-align \ |
| 126 | -Wcast-align=strict \ | 129 | -Wcast-align=strict \ |
| 127 | -Wcast-function-type \ | 130 | -Wcast-function-type \ |
| @@ -186,6 +189,7 @@ m4_defun([gl_MANYWARN_ALL_GCC(C)], | |||
| 186 | -Wmissing-field-initializers \ | 189 | -Wmissing-field-initializers \ |
| 187 | -Wmissing-include-dirs \ | 190 | -Wmissing-include-dirs \ |
| 188 | -Wmissing-parameter-type \ | 191 | -Wmissing-parameter-type \ |
| 192 | -Wmissing-profile \ | ||
| 189 | -Wmissing-prototypes \ | 193 | -Wmissing-prototypes \ |
| 190 | -Wmultichar \ | 194 | -Wmultichar \ |
| 191 | -Wmultistatement-macros \ | 195 | -Wmultistatement-macros \ |
| @@ -292,6 +296,7 @@ m4_defun([gl_MANYWARN_ALL_GCC(C)], | |||
| 292 | AC_MSG_RESULT([$gl_alloc_max]) | 296 | AC_MSG_RESULT([$gl_alloc_max]) |
| 293 | gl_manywarn_set="$gl_manywarn_set -Walloc-size-larger-than=$gl_alloc_max" | 297 | gl_manywarn_set="$gl_manywarn_set -Walloc-size-larger-than=$gl_alloc_max" |
| 294 | gl_manywarn_set="$gl_manywarn_set -Warray-bounds=2" | 298 | gl_manywarn_set="$gl_manywarn_set -Warray-bounds=2" |
| 299 | gl_manywarn_set="$gl_manywarn_set -Wattribute-alias=2" | ||
| 295 | gl_manywarn_set="$gl_manywarn_set -Wformat-overflow=2" | 300 | gl_manywarn_set="$gl_manywarn_set -Wformat-overflow=2" |
| 296 | gl_manywarn_set="$gl_manywarn_set -Wformat-truncation=2" | 301 | gl_manywarn_set="$gl_manywarn_set -Wformat-truncation=2" |
| 297 | gl_manywarn_set="$gl_manywarn_set -Wimplicit-fallthrough=5" | 302 | gl_manywarn_set="$gl_manywarn_set -Wimplicit-fallthrough=5" |