aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert2020-05-11 17:28:23 -0700
committerPaul Eggert2020-05-11 17:54:23 -0700
commit00f0ad55cd7cbb71e42de0d52b7607ffb6a3c220 (patch)
treec7ea55a573abdb8a1583d59ca38ef035e33978f7 /m4
parentdd0b910f1a9d08e65f59cc7ebc10fb6cd0fecfc9 (diff)
downloademacs-00f0ad55cd7cbb71e42de0d52b7607ffb6a3c220.tar.gz
emacs-00f0ad55cd7cbb71e42de0d52b7607ffb6a3c220.zip
Update from gnulib
This incorporates: 2020-05-11 careadlinkat: fix GCC 10 workaround 2020-05-10 careadlinkat: limit GCC workaround 2020-05-10 attribute: clarify list of attributes 2020-05-10 string: fix compilation error in C++ mode 2020-05-09 manywarnings: port to GCC 10.1 2020-05-09 careadlinkat: pacify -Wreturn-local-addr 2020-05-09 attribute: remove ATTRIBUTE_DEPRECATED 2020-05-09 attribute: Add comments * lib/attribute.h, lib/careadlinkat.c, lib/string.in.h: * lib/warn-on-use.h, m4/manywarnings.m4: Copy from Gnulib.
Diffstat (limited to 'm4')
-rw-r--r--m4/manywarnings.m424
1 files changed, 23 insertions, 1 deletions
diff --git a/m4/manywarnings.m4 b/m4/manywarnings.m4
index 783620da3ad..719bafb2909 100644
--- a/m4/manywarnings.m4
+++ b/m4/manywarnings.m4
@@ -1,4 +1,4 @@
1# manywarnings.m4 serial 18 1# manywarnings.m4 serial 19
2dnl Copyright (C) 2008-2020 Free Software Foundation, Inc. 2dnl Copyright (C) 2008-2020 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
@@ -117,6 +117,23 @@ m4_defun([gl_MANYWARN_ALL_GCC(C)],
117 -Waddress-of-packed-member \ 117 -Waddress-of-packed-member \
118 -Waggressive-loop-optimizations \ 118 -Waggressive-loop-optimizations \
119 -Wall \ 119 -Wall \
120 -Wanalyzer-double-fclose \
121 -Wanalyzer-double-free \
122 -Wanalyzer-exposure-through-output-file \
123 -Wanalyzer-file-leak \
124 -Wanalyzer-free-of-non-heap \
125 -Wanalyzer-malloc-leak \
126 -Wanalyzer-null-argument \
127 -Wanalyzer-null-dereference \
128 -Wanalyzer-possible-null-argument \
129 -Wanalyzer-possible-null-dereference \
130 -Wanalyzer-stale-setjmp-buffer \
131 -Wanalyzer-tainted-array-index \
132 -Wanalyzer-too-complex \
133 -Wanalyzer-unsafe-call-within-signal-handler \
134 -Wanalyzer-use-after-free \
135 -Wanalyzer-use-of-pointer-in-stale-stack-frame \
136 -Warith-conversion \
120 -Wattribute-warning \ 137 -Wattribute-warning \
121 -Wattributes \ 138 -Wattributes \
122 -Wbad-function-cast \ 139 -Wbad-function-cast \
@@ -150,9 +167,11 @@ m4_defun([gl_MANYWARN_ALL_GCC(C)],
150 -Wempty-body \ 167 -Wempty-body \
151 -Wendif-labels \ 168 -Wendif-labels \
152 -Wenum-compare \ 169 -Wenum-compare \
170 -Wenum-conversion \
153 -Wexpansion-to-defined \ 171 -Wexpansion-to-defined \
154 -Wextra \ 172 -Wextra \
155 -Wformat-contains-nul \ 173 -Wformat-contains-nul \
174 -Wformat-diag \
156 -Wformat-extra-args \ 175 -Wformat-extra-args \
157 -Wformat-nonliteral \ 176 -Wformat-nonliteral \
158 -Wformat-security \ 177 -Wformat-security \
@@ -231,6 +250,7 @@ m4_defun([gl_MANYWARN_ALL_GCC(C)],
231 -Wstrict-aliasing \ 250 -Wstrict-aliasing \
232 -Wstrict-overflow \ 251 -Wstrict-overflow \
233 -Wstrict-prototypes \ 252 -Wstrict-prototypes \
253 -Wstring-compare \
234 -Wstringop-truncation \ 254 -Wstringop-truncation \
235 -Wsuggest-attribute=cold \ 255 -Wsuggest-attribute=cold \
236 -Wsuggest-attribute=const \ 256 -Wsuggest-attribute=const \
@@ -242,6 +262,7 @@ m4_defun([gl_MANYWARN_ALL_GCC(C)],
242 -Wsuggest-final-types \ 262 -Wsuggest-final-types \
243 -Wswitch \ 263 -Wswitch \
244 -Wswitch-bool \ 264 -Wswitch-bool \
265 -Wswitch-outside-range \
245 -Wswitch-unreachable \ 266 -Wswitch-unreachable \
246 -Wsync-nand \ 267 -Wsync-nand \
247 -Wsystem-headers \ 268 -Wsystem-headers \
@@ -269,6 +290,7 @@ m4_defun([gl_MANYWARN_ALL_GCC(C)],
269 -Wvla \ 290 -Wvla \
270 -Wvolatile-register-var \ 291 -Wvolatile-register-var \
271 -Wwrite-strings \ 292 -Wwrite-strings \
293 -Wzero-length-bounds \
272 \ 294 \
273 ; do 295 ; do
274 gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" 296 gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"