Mike Williams wrote:

> Both of these problems relate to assuming VIM features are available 
> from the the if_python code when they are not.
> 
> With this morning's repo a TINY build fails to compile:
> 
>          cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32 
> -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG   -DFEAT_XPM_W32   -DWINVER=0x0501 
> -D_WIN32_WINNT=0x0501  /Fo.\ObjGYdi386/ -D_DEBUG -DDEBUG /Od /Zl /MTd 
> -DFEAT_GUI_W32 -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_PYTHON 
> -DDYNAMIC_PYTHON  -DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DMSWINPS 
> -DFEAT_TINY /Fd.\ObjGYdi386/ /ZI /I "h:\python27\Include" /I 
> "h:\python27\PC" if_python.c
> if_python.c
> h:\vim\vim\src\if_py_both.h(2942) : error C2065: 'curtab' : undeclared 
> identifier
> h:\vim\vim\src\if_py_both.h(2942) : warning C4047: '==' : 'tabpage_T *' 
> differs in levels of indirection from 'int'
> h:\vim\vim\src\if_py_both.h(2943) : error C2065: 'curtab' : undeclared 
> identifier
> h:\vim\vim\src\if_py_both.h(2943) : warning C4047: 'function' : 
> 'tabpage_T *' differs in levels of indirection from 'int'
> h:\vim\vim\src\if_py_both.h(2943) : warning C4024: 'WindowNew' : 
> different types for formal and actual parameter 2
> h:\vim\vim\src\if_py_both.h(2990) : error C2065: 'first_tabpage' : 
> undeclared identifier
> h:\vim\vim\src\if_py_both.h(2990) : warning C4047: 'initializing' : 
> 'tabpage_T *' differs in levels of indirection from 'int'
> h:\vim\vim\src\if_py_both.h(3007) : error C2065: 'first_tabpage' : 
> undeclared identifier
> h:\vim\vim\src\if_py_both.h(3007) : warning C4047: '=' : 'tabpage_T *' 
> differs in levels of indirection from 'int'
> h:\vim\vim\src\if_py_both.h(3111) : error C2065: 'curtab' : undeclared 
> identifier
> h:\vim\vim\src\if_py_both.h(3111) : warning C4047: '==' : 'tabpage_T *' 
> differs in levels of indirection from 'int'
> h:\vim\vim\src\if_py_both.h(3372) : error C2065: 'curtab' : undeclared 
> identifier
> h:\vim\vim\src\if_py_both.h(3372) : warning C4047: ':' : 'tabpage_T *' 
> differs in levels of indirection from 'int'
> h:\vim\vim\src\if_py_both.h(4625) : error C2065: 'curtab' : undeclared 
> identifier
> h:\vim\vim\src\if_py_both.h(4625) : warning C4047: 'function' : 
> 'tabpage_T *' differs in levels of indirection from 'int'
> h:\vim\vim\src\if_py_both.h(4625) : warning C4024: 'WindowNew' : 
> different types for formal and actual parameter 2
> h:\vim\vim\src\if_py_both.h(4627) : error C2065: 'curtab' : undeclared 
> identifier
> h:\vim\vim\src\if_py_both.h(4627) : warning C4047: 'function' : 
> 'tabpage_T *' differs in levels of indirection from 'int'
> h:\vim\vim\src\if_py_both.h(4627) : warning C4024: 'TabPageNew' : 
> different types for formal and actual parameter 1
> h:\vim\vim\src\if_py_both.h(4724) : error C2065: 'curtab' : undeclared 
> identifier
> h:\vim\vim\src\if_py_both.h(4724) : warning C4047: '!=' : 'tabpage_T *' 
> differs in levels of indirection from 'int'
> NMAKE : fatal error U1077: '"G:\Program Files (x86)\Microsoft Visual 
> Studio 11.0\VC\BIN\cl.EXE"' : return code '0x2'
> Stop.
> 
> 
> A small build compiles but fails to link:
> 
> if_python.obj : error LNK2019: unresolved external symbol _do_buffer 
> referenced in function _CurrentSetattr
> 
> 
> Normal and large builds are ok.

I can make a small build work.

A tiny build with Python won't work.  I think that is OK.

-- 
hundred-and-one symptoms of being an internet addict:
238. You think faxes are old-fashioned.

 /// Bram Moolenaar -- [email protected] -- 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui