To: vim_dev@googlegroups.com Subject: Patch 8.0.1717 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1717 Problem: C89 check causes too much trouble. Solution: Remove enforcing C89 for now. Files: src/configure.ac, src/auto/configure *** ../vim-8.0.1716/src/configure.ac 2018-04-14 16:12:26.209960175 +0200 --- src/configure.ac 2018-04-15 12:50:42.462034286 +0200 *************** *** 61,69 **** 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 --- 61,66 ---- *************** *** 4403,4415 **** 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) --- 4400,4405 ---- *** ../vim-8.0.1716/src/auto/configure 2018-04-14 16:12:26.213960148 +0200 --- src/auto/configure 2018-04-15 12:50:50.285972878 +0200 *************** *** 4206,4213 **** 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 --- 4206,4211 ---- *************** *** 14434,14443 **** 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 --- 14432,14437 ---- *** ../vim-8.0.1716/src/version.c 2018-04-15 13:10:27.045354154 +0200 --- src/version.c 2018-04-15 13:12:12.772606828 +0200 *************** *** 764,765 **** --- 764,767 ---- { /* Add new patch number below this line */ + /**/ + 1717, /**/ -- hundred-and-one symptoms of being an internet addict: 183. You move your coffeemaker next to your computer. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///