]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Move comment back to better place
authorPeter Eisentraut <peter@eisentraut.org>
Mon, 9 Mar 2026 08:46:36 +0000 (09:46 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Mon, 9 Mar 2026 09:36:16 +0000 (10:36 +0100)
Commit f014b1b9bb8 inserted some new code in between existing code and
a trailing comment.  Move the comment back to near the code it belongs
to.

configure
configure.ac

index 4aaaf92ba0a12301281a8dcaeccc76f093afab68..42621ecd0518901c746624a4e055a5d5f86ad214 100755 (executable)
--- a/configure
+++ b/configure
@@ -5341,6 +5341,7 @@ if test x"$pgac_cv_prog_CC_cflags__Werror_vla" = x"yes"; then
 fi
 
 
+  # -Wvla is not applicable for C++
   # On macOS, complain about usage of symbols newer than the deployment target
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports -Werror=unguarded-availability-new, for CFLAGS" >&5
@@ -5433,7 +5434,6 @@ if test x"$pgac_cv_prog_CXX_cxxflags__Werror_unguarded_availability_new" = x"yes
 fi
 
 
-  # -Wvla is not applicable for C++
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports -Wendif-labels, for CFLAGS" >&5
 $as_echo_n "checking whether ${CC} supports -Wendif-labels, for CFLAGS... " >&6; }
index 9bc457bac87a2ace2ebcd67818949332b9c5ca70..61ec895d23cf3dd609dca984b6932eebd9cb6a33 100644 (file)
@@ -549,10 +549,10 @@ if test "$GCC" = yes -a "$ICC" = no; then
   AC_SUBST(PERMIT_DECLARATION_AFTER_STATEMENT)
   # Really don't want VLAs to be used in our dialect of C
   PGAC_PROG_CC_CFLAGS_OPT([-Werror=vla])
+  # -Wvla is not applicable for C++
   # On macOS, complain about usage of symbols newer than the deployment target
   PGAC_PROG_CC_CFLAGS_OPT([-Werror=unguarded-availability-new])
   PGAC_PROG_CXX_CFLAGS_OPT([-Werror=unguarded-availability-new])
-  # -Wvla is not applicable for C++
   PGAC_PROG_CC_CFLAGS_OPT([-Wendif-labels])
   PGAC_PROG_CXX_CFLAGS_OPT([-Wendif-labels])
   PGAC_PROG_CC_CFLAGS_OPT([-Wmissing-format-attribute])