Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd1299aa

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 parent608b167 commitd1299aa

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)

[8]ページ先頭

©2009-2025 Movatter.jp