Hi,
A fix for ActivePerl 5.18.1 is already posted at here:
http://code.google.com/p/vim/issues/detail?id=170#c5
(Hmm, preprocessor directives are not nicely indented. It's better to
fix them.)
However, using this fix is not enough when build with MSVC.
As I already mentioned, ActivePerl 5.18.1 is build with MinGW.
It means that C:\Perl\lib\CORE\config.h is configured for MinGW.
So I had to change the configuration for MSVC.
--- C:\Perl\lib\CORE\config.h.org Sat Nov 30 04:07:14 2013
+++ C:\Perl\lib\CORE\config.h Sat Nov 30 04:31:24 2013
@@ -2441,7 +2441,7 @@
* static (c89 compilers)
*/
#define HAS_STATIC_INLINE /**/
-#define PERL_STATIC_INLINE static __inline__ /**/
+#define PERL_STATIC_INLINE static __inline /**/
/* USE_STDIO_PTR:
* This symbol is defined if the _ptr and _cnt fields (or similar)
After applying this patch, I could build with MSVC10.
I confirmed that `:perl VIM::Msg("hello")` works, but I don't know
it fully works because there are no tests for if_perl :-(
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.