To: vim_dev@googlegroups.com Subject: Patch 7.4.2290 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.2290 Problem: Compiler warning in tiny build. (Tony Mechelynck) Solution: Add #ifdef around infinity_str(). Files: src/message.c *** ../vim-7.4.2289/src/message.c 2016-08-28 16:03:34.820991891 +0200 --- src/message.c 2016-08-28 21:19:37.217508980 +0200 *************** *** 3990,3995 **** --- 3990,3996 ---- # endif #endif + #ifdef FEAT_FLOAT /* * Return the representation of infinity for printf() function: * "-inf", "inf", "+inf", " inf", "-INF", "INF", "+INF" or " INF". *************** *** 4011,4016 **** --- 4012,4018 ---- idx += 4; return table[idx]; } + #endif /* * This code was included to provide a portable vsnprintf() and snprintf(). *** ../vim-7.4.2289/src/version.c 2016-08-28 21:00:47.155343947 +0200 --- src/version.c 2016-08-28 21:20:17.233161429 +0200 *************** *** 765,766 **** --- 765,768 ---- { /* Add new patch number below this line */ + /**/ + 2290, /**/ -- hundred-and-one symptoms of being an internet addict: 95. Only communication in your household is through email. /// 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 ///