Content-Length: 278719 | pFad | http://github.com/postgrespro/postgres_cluster/commit/d1299aabbd0b4ae860078691b628dc6b90698039

0F Fix PERMIT_DECLARATION_AFTER_STATEMENT initialization. · postgrespro/postgres_cluster@d1299aa · GitHub
Skip to content

Commit d1299aa

Browse files
committed
Fix PERMIT_DECLARATION_AFTER_STATEMENT initialization.
The defect caused a mere warning and only for gcc versions before 3.4.0.
1 parent 608b167 commit d1299aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5306,7 +5306,7 @@ fi
53065306
# -Wdeclaration-after-statement isn't applicable for C++. Specific C files
53075307
# disable it, so AC_SUBST the negative form.
53085308
PERMIT_DECLARATION_AFTER_STATEMENT=
5309-
if test x"save_$CFLAGS" != x"$CFLAGS"; then
5309+
if test x"$save_CFLAGS" != x"$CFLAGS"; then
53105310
PERMIT_DECLARATION_AFTER_STATEMENT=-Wno-declaration-after-statement
53115311
fi
53125312

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ if test "$GCC" = yes -a "$ICC" = no; then
481481
# -Wdeclaration-after-statement isn't applicable for C++. Specific C files
482482
# disable it, so AC_SUBST the negative form.
483483
PERMIT_DECLARATION_AFTER_STATEMENT=
484-
if test x"save_$CFLAGS" != x"$CFLAGS"; then
484+
if test x"$save_CFLAGS" != x"$CFLAGS"; then
485485
PERMIT_DECLARATION_AFTER_STATEMENT=-Wno-declaration-after-statement
486486
fi
487487
AC_SUBST(PERMIT_DECLARATION_AFTER_STATEMENT)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/d1299aabbd0b4ae860078691b628dc6b90698039

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy