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

Commit3cab8bd

Browse files
committed
Remove -Winline from the default set of CFLAGS for gcc. It's gotten much
too noisy to be useful as of gcc 4.3, and we were never really doinganything about inlining warnings anyway.
1 parent9650830 commit3cab8bd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3601,7 +3601,7 @@ fi
36013601
# ICC pretends to be GCC but it's lying; it doesn't support these options.
36023602

36033603
if test "$GCC" = yes -a "$ICC" = no; then
3604-
CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wpointer-arith -Winline"
3604+
CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wpointer-arith"
36053605
# These work in some but not all gcc versions
36063606
{ echo "$as_me:$LINENO: checking if $CC supports -Wdeclaration-after-statement" >&5
36073607
echo $ECHO_N "checking if $CC supports -Wdeclaration-after-statement... $ECHO_C" >&6; }

‎configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $PostgreSQL: pgsql/configure.in,v 1.563 2008/06/27 00:36:16 tgl Exp $
2+
dnl $PostgreSQL: pgsql/configure.in,v 1.564 2008/08/19 19:17:40 tgl Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -391,7 +391,7 @@ fi
391391
# ICC pretends to be GCC but it's lying; it doesn't support these options.
392392

393393
if test "$GCC" = yes -a "$ICC" = no; then
394-
CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wpointer-arith -Winline"
394+
CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wpointer-arith"
395395
# These work in some but not all gcc versions
396396
PGAC_PROG_CC_CFLAGS_OPT([-Wdeclaration-after-statement])
397397
PGAC_PROG_CC_CFLAGS_OPT([-Wendif-labels])

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp