To: vim_dev@googlegroups.com Subject: Patch 8.2.0727 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.0727 Problem: MS-Windows: new gcc compiler does not support scanf format. Solution: Use "%ll" instead of "%I". (Ken Takata) Files: src/vim.h *** ../vim-8.2.0726/src/vim.h 2020-05-09 22:50:04.755323771 +0200 --- src/vim.h 2020-05-10 13:27:13.332610046 +0200 *************** *** 340,348 **** #ifdef _WIN64 typedef unsigned __int64 long_u; typedef __int64 long_i; ! # define SCANF_HEX_LONG_U "%Ix" ! # define SCANF_DECIMAL_LONG_U "%Iu" ! # define PRINTF_HEX_LONG_U "0x%Ix" #else // Microsoft-specific. The __w64 keyword should be specified on any typedefs // that change size between 32-bit and 64-bit platforms. For any such type, --- 340,348 ---- #ifdef _WIN64 typedef unsigned __int64 long_u; typedef __int64 long_i; ! # define SCANF_HEX_LONG_U "%llx" ! # define SCANF_DECIMAL_LONG_U "%llu" ! # define PRINTF_HEX_LONG_U "0x%llx" #else // Microsoft-specific. The __w64 keyword should be specified on any typedefs // that change size between 32-bit and 64-bit platforms. For any such type, *** ../vim-8.2.0726/src/version.c 2020-05-09 23:20:16.997309756 +0200 --- src/version.c 2020-05-10 13:28:59.916226113 +0200 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 727, /**/ -- hundred-and-one symptoms of being an internet addict: 86. E-mail Deficiency Depression (EDD) forces you to e-mail yourself. /// 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 ///