To: vim_dev@googlegroups.com Subject: Patch 8.0.1646 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1646 Problem: MS-Windows: executable contains unreferenced functions and data. Solution: Add /opt:ref to the compiler command. (Ken Takata) Files: src/Make_mvc.mak *** ../vim-8.0.1645/src/Make_mvc.mak 2018-03-14 21:38:57.908996048 +0100 --- src/Make_mvc.mak 2018-03-26 20:41:04.985190708 +0200 *************** *** 1158,1164 **** # CFLAGS with /Fo$(OUTDIR)/ CFLAGS_OUTDIR=$(CFLAGS) /Fo$(OUTDIR)/ ! conflags = /nologo /subsystem:$(SUBSYSTEM) PATHDEF_SRC = $(OUTDIR)\pathdef.c --- 1158,1166 ---- # CFLAGS with /Fo$(OUTDIR)/ CFLAGS_OUTDIR=$(CFLAGS) /Fo$(OUTDIR)/ ! # Add /opt:ref to remove unreferenced functions and data even when /DEBUG is ! # added. ! conflags = /nologo /subsystem:$(SUBSYSTEM) /opt:ref PATHDEF_SRC = $(OUTDIR)\pathdef.c *** ../vim-8.0.1645/src/version.c 2018-03-25 21:24:06.285680721 +0200 --- src/version.c 2018-03-26 20:42:02.640857215 +0200 *************** *** 768,769 **** --- 768,771 ---- { /* Add new patch number below this line */ + /**/ + 1646, /**/ -- hundred-and-one symptoms of being an internet addict: 66. You create a homepage with the impression to cure the afflicted...but your hidden agenda is to receive more e-mail. /// 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 ///