mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Fix PERMIT_DECLARATION_AFTER_STATEMENT initialization.
The defect caused a mere warning and only for gcc versions before 3.4.0.
This commit is contained in:
2
configure
vendored
2
configure
vendored
@ -5306,7 +5306,7 @@ fi
|
||||
# -Wdeclaration-after-statement isn't applicable for C++. Specific C files
|
||||
# disable it, so AC_SUBST the negative form.
|
||||
PERMIT_DECLARATION_AFTER_STATEMENT=
|
||||
if test x"save_$CFLAGS" != x"$CFLAGS"; then
|
||||
if test x"$save_CFLAGS" != x"$CFLAGS"; then
|
||||
PERMIT_DECLARATION_AFTER_STATEMENT=-Wno-declaration-after-statement
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user