diff options
author | Bruno Haible <bruno@clisp.org> | 2018-06-25 21:04:11 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2018-06-25 21:05:36 +0200 |
commit | fcdf335e093e245e384874254ec897c97430ccf2 (patch) | |
tree | 4971c1903d627b1caeca3cfe5cd9b4ca9c15d58b /build-aux/gcc-warning.spec | |
parent | ed78f0e059003680af6476989c39c9ba18ae3fd0 (diff) | |
download | gnulib-fcdf335e093e245e384874254ec897c97430ccf2.tar.gz |
manywarnings: Don't enable -Wjump-misses-init warnings by default.
* build-aux/gcc-warning.spec: Add -Wjump-misses-init.
* m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC(C)): Remove
-Wjump-misses-init.
Diffstat (limited to 'build-aux/gcc-warning.spec')
-rw-r--r-- | build-aux/gcc-warning.spec | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build-aux/gcc-warning.spec b/build-aux/gcc-warning.spec index e2625ea9d7..c47298e93c 100644 --- a/build-aux/gcc-warning.spec +++ b/build-aux/gcc-warning.spec @@ -18,7 +18,7 @@ -Warray-bounds=<0,2> handled specially by gl_MANYWARN_ALL_GCC -Warray-temporaries fortran -Wassign-intercept objc/objc++ --Wc++-compat FIXME maybe? borderline. some will want this +-Wc++-compat only useful for code meant to be compiled by a C++ compiler -Wc++0x-compat c++ -Wc++11-compat c++ -Wc++14-compat c++ @@ -65,6 +65,7 @@ -Wintrinsic-shadow fortran -Wintrinsics-std fortran -Winvalid-offsetof c++ and objc++ +-Wjump-misses-init only useful for code meant to be compiled by a C++ compiler -Wlarger-than- gcc --help=warnings artifact -Wlarger-than=<number> FIXME: choose something sane? -Wline-truncation fortran |