Skip to content

Commit 3cba734

Browse files
committed
patch 8.0.1717: C89 check causes too much trouble
Problem: C89 check causes too much trouble. Solution: Remove enforcing C89 for now.
1 parent ac3e830 commit 3cba734

File tree

3 files changed

+2
-16
lines changed

3 files changed

+2
-16
lines changed

src/auto/configure

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4206,8 +4206,6 @@ if test "$GCC" = yes; then
42064206
CFLAGS="$CFLAGS -fno-strength-reduce"
42074207
fi
42084208
fi
4209-
4210-
CPPFLAGS="$CPPFLAGS -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700"
42114209
fi
42124210

42134211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang version" >&5
@@ -14434,10 +14432,6 @@ if test "$zOSUnix" = "yes"; then
1443414432
CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\),dll"
1443514433
fi
1443614434

14437-
if test "$GCC" = yes -a "$GUITYPE" != "GTK" -a "X$RUBY_CFLAGS" = "X"; then
14438-
CFLAGS="$CFLAGS -ansi"
14439-
fi
14440-
1444114435
ac_config_files="$ac_config_files auto/config.mk:config.mk.in"
1444214436

1444314437
cat >confcache <<\_ACEOF

src/configure.ac

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ if test "$GCC" = yes; then
6161
CFLAGS="$CFLAGS -fno-strength-reduce"
6262
fi
6363
fi
64-
65-
dnl Declare what standards the code should comply with
66-
CPPFLAGS="$CPPFLAGS -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700"
6764
fi
6865

6966
dnl clang-500.2.75 or around has abandoned -f[no-]strength-reduce and issues a
@@ -4403,13 +4400,6 @@ if test "$zOSUnix" = "yes"; then
44034400
CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\),dll"
44044401
fi
44054402

4406-
dnl Declare what standards the code should comply with.
4407-
dnl But not when using GTK, the header files cause all kinds of warnings.
4408-
dnl But not when using Ruby, it needs "inline".
4409-
if test "$GCC" = yes -a "$GUITYPE" != "GTK" -a "X$RUBY_CFLAGS" = "X"; then
4410-
CFLAGS="$CFLAGS -ansi"
4411-
fi
4412-
44134403
dnl write output files
44144404
AC_OUTPUT(auto/config.mk:config.mk.in)
44154405

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,8 @@ static char *(features[]) =
762762

763763
static int included_patches[] =
764764
{ /* Add new patch number below this line */
765+
/**/
766+
1717,
765767
/**/
766768
1716,
767769
/**/

0 commit comments

Comments
 (0)