* m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC):
Remove -Wdisabled-optimization, as this is a warning about the
compiler not the program. I discovered the need for this when
compiling bleeding-edge Emacs with gcc-15 (Ubuntu
15-
20250404-0ubuntu1) 15.0.1
20250404 (experimental) [master
r15-9193-g08e803aa9be] on x86-64. Also, omit a
no-longer-necessary LC_ALL=C in a comment.
2025-04-27 Paul Eggert <eggert@cs.ucla.edu>
+ manywarnings: omit -Wdisabled-optimization
+ * m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC):
+ Remove -Wdisabled-optimization, as this is a warning about the
+ compiler not the program. I discovered the need for this when
+ compiling bleeding-edge Emacs with gcc-15 (Ubuntu
+ 15-20250404-0ubuntu1) 15.0.1 20250404 (experimental) [master
+ r15-9193-g08e803aa9be] on x86-64. Also, omit a
+ no-longer-necessary LC_ALL=C in a comment.
+
gendocs: do not depend on awk
* build-aux/gendocs.sh (calcsize): Use shell directly, rather than
depending on awk. Allow spaces in outdir. Simplify.
-Warith-conversion
-Wcast-align=strict
-Wdate-time
- -Wdisabled-optimization
-Wduplicated-cond
-Wextra
-Wformat-signedness
-Warith-conversion
-Wcast-align=strict
-Wdate-time
- -Wdisabled-optimization
-Wduplicated-cond
-Wextra
-Wformat-signedness
-Wdeprecated-non-prototype c compatibility
-Wdeprecated-variadic-comma-omission c++ and objc+++ compatibility
-Wdesignated-init default
+-Wdisabled-optimization warns about compiler not about program
-Wdiscarded-array-qualifiers default
-Wdiscarded-qualifiers default
-Wdo-subscript fortran
# export LC_ALL=C && comm -3 \
# <((sed -n 's/^ *\(-[^ 0-9][^ ]*\).*/\1/p' manywarnings.m4; \
# awk '/^[^#]/ {print $1}' ../build-aux/gcc-warning.spec) | sort) \
- # <(LC_ALL=C gcc --help=warnings | sed -n 's/^ \(-[^ ]*\) .*/\1/p' | sort)
+ # <(gcc --help=warnings | sed -n 's/^ \(-[^ ]*\) .*/\1/p' | sort)
$1=
for gl_manywarn_item in -fanalyzer -fstrict-flex-arrays \
-Wbad-function-cast \
-Wcast-align=strict \
-Wdate-time \
- -Wdisabled-optimization \
-Wdouble-promotion \
-Wduplicated-branches \
-Wduplicated-cond \