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 -- b...@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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui