After this patch,  build on MSVC with Python3 is failed.
Attached patch fix this, please check it.

Error cause is variable declaration order violation in strict C language.

Best.

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


# HG changeset patch
# Parent 504b928f9a1c58dd4c1f7590ffb9444096b73fd4

diff -r 504b928f9a1c src/if_py_both.h
--- a/src/if_py_both.h	Mon May 06 04:50:35 2013 +0200
+++ b/src/if_py_both.h	Mon May 06 12:01:00 2013 +0900
@@ -1521,12 +1521,11 @@
     int		flags;
     long	numval;
     char_u	*stringval;
+    DICTKEY_DECL
 
     if (this->Check(this->from))
 	return NULL;
 
-    DICTKEY_DECL
-
     DICTKEY_GET_NOTEMPTY(NULL)
 
     flags = get_option_value_strict(key, &numval, &stringval,
@@ -1616,12 +1615,11 @@
     int		flags;
     int		opt_flags;
     int		r = 0;
+    DICTKEY_DECL
 
     if (this->Check(this->from))
 	return -1;
 
-    DICTKEY_DECL
-
     DICTKEY_GET_NOTEMPTY(-1)
 
     flags = get_option_value_strict(key, NULL, NULL,

Reply via email to