* m4/gnulib-common.m4 (gl_CC_GNULIB_WARNINGS): Don’t worry about
-Wmissing-field-initializers, as this is no longer needed now that
gl_MANYWARN_ALL_GCC is fixed.
2023-05-24 Paul Eggert <eggert@cs.ucla.edu>
+ Simplify -Wno-missing-field-initializers checking
+ * m4/gnulib-common.m4 (gl_CC_GNULIB_WARNINGS): Don’t worry about
+ -Wmissing-field-initializers, as this is no longer needed now that
+ gl_MANYWARN_ALL_GCC is fixed.
+
manywarnings: port better to GCC 11.2 and earlier
Problem reported by Bruno Haible in:
https://lists.gnu.org/r/bug-diffutils/2023-05/msg00015.html
dnl -Wno-float-conversion >= 4.9 >= 3.9
dnl -Wno-float-equal >= 3 >= 3.9
dnl -Wimplicit-fallthrough >= 7 >= 3.9
- dnl -Wno-missing-field-initializers >= 4.0, < 11
dnl -Wno-pedantic >= 4.8 >= 3.9
dnl -Wno-sign-compare >= 3 >= 3.9
dnl -Wno-sign-conversion >= 4.3 >= 3.9
#if __GNUC__ >= 7 || (__clang_major__ + (__clang_minor__ >= 9) > 3)
-Wimplicit-fallthrough
#endif
- #if __GNUC__ >= 4 && __GNUC__ < 11 && !defined __clang__
- -Wno-missing-field-initializers
- #endif
#if __GNUC__ + (__GNUC_MINOR__ >= 8) > 4 || (__clang_major__ + (__clang_minor__ >= 9) > 3)
-Wno-pedantic
#endif