Hi,

:perldo doesn't work with ActivePerl 5.14 on 32-bit Windows when complied
by MSVC8 or later. (And :perl may crash with ActivePerl 5.16.)
It is caused by mismatch of time_t size.
The following patch fixes this:

--- a/src/Make_mvc.mak
+++ b/src/Make_mvc.mak
@@ -846,6 +846,14 @@
 
 CFLAGS = $(CFLAGS) -DFEAT_PERL
 
+# Currently 32-bit version of ActivePerl is built with VC6.
+# (http://community.activestate.com/faq/windows-compilers-perl-modules)
+# It means that time_t should be 32-bit. However the default size of
+# time_t is 64-bit since VC8. So we have to define _USE_32BIT_TIME_T.
+!if "$(CPU)" == "i386"
+CFLAGS = $(CFLAGS) -D_USE_32BIT_TIME_T
+!endif
+
 # Do we want to load Perl dynamically?
 !if "$(DYNAMIC_PERL)" == "yes"
 CFLAGS = $(CFLAGS) -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"$(PERL_DLL)\"


Regards,
Ken Takata

-- 
-- 
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/groups/opt_out.


Raspunde prin e-mail lui