]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Port AC_C_CONST to GCC 16 -Wunused-but-set-variable
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 7 Aug 2025 16:03:21 +0000 (09:03 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 7 Aug 2025 16:10:03 +0000 (09:10 -0700)
commit6fc6066df1b8902ba255c007e87c084fead75119
tree759193ccbeabea4e7e8dc958efe4502725a5aadc
parent13698e25548f0a303118128749afbd2101131add
Port AC_C_CONST to GCC 16 -Wunused-but-set-variable

Problem reported by Vincent Lefevre in:
https://lists.gnu.org/r/autoconf-patches/2025-08/msg00001.html
https://lists.gnu.org/r/autoconf-patches/2025-08/msg00002.html
* lib/autoconf/c.m4 (AC_C_CONST): Combine two tests, use
the set variable, and don’t try to add 1 to a null pointer.
lib/autoconf/c.m4