summaryrefslogtreecommitdiff
path: root/build-aux/gcc-warning.spec
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-05-17 09:08:02 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-05-17 09:08:22 -0700
commit6f9206d4db914cf904cd4711e3044d99c36dae8b (patch)
treec672cacfd455427923130941a74152e6a1e21813 /build-aux/gcc-warning.spec
parent816580fe48b8734dd5536d7562f9142d50a7dea8 (diff)
downloadgnulib-6f9206d4db914cf904cd4711e3044d99c36dae8b.tar.gz
manywarnings: update for GCC 6.1
* m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Add GCC 6.1 options that apply to C. * build-aux/gcc-warning.spec: Add GCC 6.1 options that do not apply to C, are obsolescent, etc.
Diffstat (limited to 'build-aux/gcc-warning.spec')
-rw-r--r--build-aux/gcc-warning.spec21
1 files changed, 21 insertions, 0 deletions
diff --git a/build-aux/gcc-warning.spec b/build-aux/gcc-warning.spec
index 4a8c8f5ff0..8c3901770c 100644
--- a/build-aux/gcc-warning.spec
+++ b/build-aux/gcc-warning.spec
@@ -31,13 +31,16 @@
-Wdelete-non-virtual-dtor c++
-Weffc++ c++
-Werror-implicit-function-declaration deprecated
+-Wfloat-conversion FIXME maybe? borderline. some will want this
-Wfloat-equal FIXME maybe? borderline. some will want this
-Wformat covered by -Wformat=2
-Wformat= gcc --help=warnings artifact
+-Wframe-larger-than=<number> FIXME: choose something sane?
-Wfunction-elimination fortran
-Wimplicit-interface fortran
-Wimplicit-procedure fortran
-Winherited-variadic-ctor c++
+-Winteger-division fortran
-Wintrinsic-shadow fortran
-Wintrinsics-std fortran
-Winvalid-offsetof c++ and objc++
@@ -46,14 +49,23 @@
-Wline-truncation fortran
-Wliteral-suffix c++ and objc++
-Wlong-long obsolescent
+-Wlto-type-mismatch c++ and objc++
+-Wmissing-format-attribute obsolescent
+-Wmissing-noreturn obsolescent
+-Wmultiple-inheritance c++ and objc++
+-Wnamespaces c++
-Wnoexcept c++
-Wnon-template-friend c++
-Wnon-virtual-dtor c++
+-Wnormalized covered by -Wnormalized=
-Wnormalized=<none|id|nfc|nfkc> handled specially by gl_MANYWARN_ALL_GCC
-Wold-style-cast c++ and objc++
-Woverloaded-virtual c++
+-Woverride-init-side-effects c++ and objc++
-Wpadded FIXME maybe? warns about "stabil" member in /usr/include/bits/timex.h
-Wpedantic FIXME: too strict?
+-Wplacement-new c++
+-Wplacement-new= c++
-Wpmf-conversions c++ and objc++
-Wproperty-assign-default objc++
-Wprotocol objc++
@@ -64,6 +76,8 @@
-Wreorder c++ and objc++
-Wselector objc and objc++
-Wshadow-ivar objc
+-Wshift-overflow covered by -Wshift-overflow=2
+-Wshift-overflow= gcc --help=warnings artifact
-Wsign-compare FIXME maybe? borderline. some will want this
-Wsign-conversion FIXME maybe? borderline. some will want this
-Wsign-promo c++ and objc++
@@ -73,21 +87,28 @@
-Wstrict-null-sentinel c++ and objc++
-Wstrict-overflow= FIXME: choose something sane?
-Wstrict-selector-match objc and objc++
+-Wsubobject-linkage c++ and objc++
-Wsuggest-override c++ and objc++
-Wsurprising fortran
-Wswitch-enum FIXME maybe? borderline. some will want this
-Wsynth deprecated
-Wtabs fortran
-Wtarget-lifetime fortran
+-Wtemplates c++ and objc++
+-Wterminate c++ and objc++
-Wtraditional obsolescent
-Wtraditional-conversion obsolescent
-Wundeclared-selector objc and objc++
-Wundef FIXME maybe? too many false positives
-Wunderflow fortran
+-Wunreachable-code obsolescent no-op
-Wunsuffixed-float-constants triggers warning in gnulib's timespec.h
+-Wunused-const-variable covered by -Wunusec-const-variable=2
+-Wunused-const-variable= gcc --help=warnings artifact
-Wunused-dummy-argument fortran
-Wuse-without-only fortran
-Wuseless-cast c++ and objc++
+-Wvirtual-inheritance c++
-Wvirtual-move-assign c++
-Wzero-as-null-pointer-constant c++ and objc++
-Wzerotrip fortran