Ken Takata wrote:

> This patch adds the /opt:ref linker option to Make_mvc.mak in order to reduce
> the size of the executable.  This option is enabled by default for release
> builds, however, we use the /DEBUG option even for the release builds, and
> this disables the /opt:ref option.  So we need to use this option explicitly.
> See: https://msdn.microsoft.com/en-us/library/bxwfs976.aspx
> 
> This reduces the size about 100KB on 32-bit HUGE version.

Thanks.  Looks like it's harmless.  I'll add a comment.

> P.S. MinGW also has a similar feature:
>   CFLAGS: -fdata-sections -ffunction-sections
>   LDFLAGS: -Wl,--gc-sections
> But I haven't tried this.

-- 
hundred-and-one symptoms of being an internet addict:
65. The last time you looked at the clock it was 11:30pm, and in what
    seems like only a few seconds later, your sister runs past you to
    catch her 7am school bus.

 /// 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