To: vim_dev@googlegroups.com Subject: Patch 8.0.1710 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1710 Problem: Building with Ruby fails. Solution: Don't add -ansi when building with Ruby. Files: src/configure.ac, src/auto/configure *** ../vim-8.0.1709/src/configure.ac 2018-04-14 14:37:02.760137708 +0200 --- src/configure.ac 2018-04-14 15:51:14.191203469 +0200 *************** *** 4403,4411 **** CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\),dll" fi ! dnl Declare what standards the code should comply with. But not when using ! dnl GTK, the header files cause all kinds of warnings. ! if test "$GCC" = yes -a "$GUITYPE" != "GTK"; then CFLAGS="$CFLAGS -ansi" fi --- 4403,4412 ---- 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 *** ../vim-8.0.1709/src/auto/configure 2018-04-14 14:37:02.764137672 +0200 --- src/auto/configure 2018-04-14 15:51:17.195181287 +0200 *************** *** 14434,14440 **** CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\),dll" fi ! if test "$GCC" = yes -a "$GUITYPE" != "GTK"; then CFLAGS="$CFLAGS -ansi" fi --- 14434,14440 ---- 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 *** ../vim-8.0.1709/src/version.c 2018-04-14 14:37:02.768137636 +0200 --- src/version.c 2018-04-14 16:11:51.078213605 +0200 *************** *** 764,765 **** --- 764,767 ---- { /* Add new patch number below this line */ + /**/ + 1710, /**/ -- I'm so disorganized my keyboard isn't even in alphabetical order! /// 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 ///