diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-04-15 13:12:46 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-04-15 13:12:46 +0200 |
commit | 3cba73423e5304ef7ccdb2280d65562d2f06f483 (patch) | |
tree | 6df7936f2893970e41eb9da1716083f359ca9087 | |
parent | ac3e830065f1e54c422cdd2f3157fb35fac27e04 (diff) |
patch 8.0.1717: C89 check causes too much troublev8.0.1717
Problem: C89 check causes too much trouble.
Solution: Remove enforcing C89 for now.
-rwxr-xr-x | src/auto/configure | 6 | ||||
-rw-r--r-- | src/configure.ac | 10 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 2 insertions, 16 deletions
diff --git a/src/auto/configure b/src/auto/configure index 29dadf2747..fc7bb5a256 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -4206,8 +4206,6 @@ if test "$GCC" = yes; then CFLAGS="$CFLAGS -fno-strength-reduce" fi fi - - CPPFLAGS="$CPPFLAGS -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang version" >&5 @@ -14434,10 +14432,6 @@ if test "$zOSUnix" = "yes"; then CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\),dll" fi -if test "$GCC" = yes -a "$GUITYPE" != "GTK" -a "X$RUBY_CFLAGS" = "X"; then - CFLAGS="$CFLAGS -ansi" -fi - ac_config_files="$ac_config_files auto/config.mk:config.mk.in" cat >confcache <<\_ACEOF diff --git a/src/configure.ac b/src/configure.ac index eef443b741..ff0c726fc6 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -61,9 +61,6 @@ if test "$GCC" = yes; then CFLAGS="$CFLAGS -fno-strength-reduce" fi fi - - dnl Declare what standards the code should comply with - CPPFLAGS="$CPPFLAGS -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700" fi 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 CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\),dll" fi -dnl Declare what standards the code should comply with. -dnl But not when using GTK, the header files cause all kinds of warnings. -dnl But not when using Ruby, it needs "inline". -if test "$GCC" = yes -a "$GUITYPE" != "GTK" -a "X$RUBY_CFLAGS" = "X"; then - CFLAGS="$CFLAGS -ansi" -fi - dnl write output files AC_OUTPUT(auto/config.mk:config.mk.in) diff --git a/src/version.c b/src/version.c index 1c6c15d227..207048f129 100644 --- a/src/version.c +++ b/src/version.c @@ -763,6 +763,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1717, +/**/ 1716, /**/ 1715, |