On Mon, Nov 16, 2009 at 03:22:55AM -0600, Jordan Lewis wrote:
> Please try this patch! I think you all and the rest of the Vim  
> community will really like this functionality.

I'm sorry to report that your patch does not build on Windows with
VS2008.

The following is the compiler output.  It looks a bit like a missing
include file may be to blame.

C:\Documents and Settings\efalor\My Documents\devel\vim7\src>nmake -f Make_mvc.m
ak OLE=yes FEATURES=HUGE CPUNR=pentium4 DEBUG=no MAP=no CSCOPE=yes

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.


        cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32   -DFEAT_CSCOPE
    -DWINVER=0x0400 -D_WIN32_WINNT=0x0400  /Fo.\ObjCO/ /Ox /GL -DNDEBUG /arch:SS
E2 /Zl /MT -DFEAT_OLE -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_HUGE /Fd.\ObjCO/
/Zi .\ObjCO\pathdef.c
pathdef.c
        cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32   -DFEAT_CSCOPE
    -DWINVER=0x0400 -D_WIN32_WINNT=0x0400  /Fo.\ObjCO/ /Ox /GL -DNDEBUG /arch:SS
E2 /Zl /MT -DFEAT_OLE -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_HUGE /Fd.\ObjCO/
/Zi buffer.c charset.c diff.c digraph.c edit.c eval.c ex_cmds.c ex_cmds2.c ex_do
cmd.c ex_eval.c ex_getln.c fileio.c fold.c getchar.c hardcopy.c hashtab.c main.c
 mark.c mbyte.c memfile.c memline.c menu.c message.c misc1.c misc2.c move.c norm
al.c ops.c option.c os_mswin.c os_win32.c popupmnu.c quickfix.c regexp.c screen.
c search.c spell.c syntax.c tag.c term.c ui.c undo.c window.c if_cscope.c
buffer.c
charset.c
diff.c
digraph.c
edit.c
eval.c
ex_cmds.c
ex_cmds2.c
ex_docmd.c
ex_eval.c
ex_getln.c
fileio.c
fold.c
getchar.c
hardcopy.c
hashtab.c
main.c
mark.c
mbyte.c
memfile.c
Compiling...
memline.c
menu.c
message.c
misc1.c
misc2.c
move.c
normal.c
ops.c
option.c
os_mswin.c
os_win32.c
popupmnu.c
quickfix.c
regexp.c
screen.c
search.c
spell.c
syntax.c
tag.c
term.c
Compiling...
ui.c
undo.c
undo.c(759) : error C2275: 'FILE' : illegal use of this type as an expression
        c:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(69) : se
e declaration of 'FILE'
undo.c(759) : error C2065: 'fp' : undeclared identifier
undo.c(760) : error C2065: 'fp' : undeclared identifier
undo.c(760) : warning C4047: '==' : 'int' differs in levels of indirection from
'void *'
undo.c(767) : error C2143: syntax error : missing ';' before 'type'
undo.c(768) : error C2275: 'char_u' : illegal use of this type as an expression
        c:\documents and settings\efalor\my documents\devel\vim7\src\vim.h(368)
: see declaration of 'char_u'
undo.c(768) : error C2065: 'line_ptr' : undeclared identifier
undo.c(769) : error C2275: 'linenr_T' : illegal use of this type as an expressio
n
        c:\documents and settings\efalor\my documents\devel\vim7\src\vim.h(1471)
 : see declaration of 'linenr_T'
undo.c(769) : error C2146: syntax error : missing ';' before identifier 'line_ln
um'
undo.c(769) : error C2065: 'line_lnum' : undeclared identifier
undo.c(770) : error C2275: 'colnr_T' : illegal use of this type as an expression

        c:\documents and settings\efalor\my documents\devel\vim7\src\vim.h(1472)
 : see declaration of 'colnr_T'
undo.c(770) : error C2146: syntax error : missing ';' before identifier 'line_co
lnr'
undo.c(770) : error C2065: 'line_colnr' : undeclared identifier
undo.c(771) : error C2275: 'linenr_T' : illegal use of this type as an expressio
n
        c:\documents and settings\efalor\my documents\devel\vim7\src\vim.h(1471)
 : see declaration of 'linenr_T'
undo.c(771) : error C2146: syntax error : missing ';' before identifier 'line_co
unt'
undo.c(771) : error C2065: 'line_count' : undeclared identifier
undo.c(772) : error C2143: syntax error : missing ';' before 'type'
undo.c(773) : error C2143: syntax error : missing ';' before 'type'
undo.c(774) : error C2143: syntax error : missing ';' before 'type'
undo.c(775) : error C2143: syntax error : missing ';' before 'type'
undo.c(776) : error C2275: 'time_t' : illegal use of this type as an expression
        c:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\crtdefs.h(570) :
 see declaration of 'time_t'
undo.c(776) : error C2146: syntax error : missing ';' before identifier 'seq_tim
e'
undo.c(776) : error C2065: 'seq_time' : undeclared identifier
undo.c(777) : error C2143: syntax error : missing ';' before 'type'
undo.c(778) : error C2143: syntax error : missing ';' before 'type'
undo.c(779) : error C2143: syntax error : missing ';' before 'type'
undo.c(780) : error C2275: 'char_u' : illegal use of this type as an expression
        c:\documents and settings\efalor\my documents\devel\vim7\src\vim.h(368)
: see declaration of 'char_u'
undo.c(780) : error C2065: 'array' : undeclared identifier
undo.c(780) : error C2100: illegal indirection
undo.c(781) : error C2275: 'char_u' : illegal use of this type as an expression
        c:\documents and settings\efalor\my documents\devel\vim7\src\vim.h(368)
: see declaration of 'char_u'
undo.c(781) : error C2065: 'line' : undeclared identifier
undo.c(782) : error C2275: 'u_entry_T' : illegal use of this type as an expressi
on
        c:\documents and settings\efalor\my documents\devel\vim7\src\structs.h(2
71) : see declaration of 'u_entry_T'
undo.c(782) : error C2065: 'uep' : undeclared identifier
undo.c(782) : error C2065: 'last_uep' : undeclared identifier
undo.c(782) : error C2100: illegal indirection
undo.c(782) : error C2065: 'nuep' : undeclared identifier
undo.c(782) : error C2100: illegal indirection
undo.c(783) : error C2275: 'u_header_T' : illegal use of this type as an express
ion
        c:\documents and settings\efalor\my documents\devel\vim7\src\structs.h(2
72) : see declaration of 'u_header_T'
undo.c(783) : error C2065: 'uhp' : undeclared identifier
undo.c(784) : error C2275: 'u_header_T' : illegal use of this type as an express
ion
        c:\documents and settings\efalor\my documents\devel\vim7\src\structs.h(2
72) : see declaration of 'u_header_T'
undo.c(784) : error C2065: 'uhp_table' : undeclared identifier
undo.c(784) : error C2100: illegal indirection
undo.c(787) : error C2065: 'magic' : undeclared identifier
undo.c(787) : error C2065: 'fp' : undeclared identifier
undo.c(787) : warning C4047: 'function' : 'FILE *' differs in levels of indirect
ion from 'int'
undo.c(787) : warning C4024: 'get2c' : different types for formal and actual par
ameter 1
undo.c(788) : error C2065: 'magic' : undeclared identifier
undo.c(793) : error C2065: 'version' : undeclared identifier
undo.c(793) : error C2065: 'fp' : undeclared identifier
undo.c(793) : warning C4047: 'function' : 'FILE *' differs in levels of indirect
ion from 'int'
undo.c(793) : warning C4024: 'get2c' : different types for formal and actual par
ameter 1
undo.c(794) : error C2065: 'version' : undeclared identifier
undo.c(801) : error C2065: 'file_mtime' : undeclared identifier
undo.c(801) : error C2065: 'fp' : undeclared identifier
undo.c(801) : warning C4047: 'function' : 'FILE *' differs in levels of indirect
ion from 'int'
undo.c(801) : warning C4024: 'get4c' : different types for formal and actual par
ameter 1
undo.c(802) : error C2065: 'file_mtime' : undeclared identifier
undo.c(812) : error C2065: 'line_count' : undeclared identifier
undo.c(812) : error C2065: 'fp' : undeclared identifier
undo.c(812) : warning C4047: 'function' : 'FILE *' differs in levels of indirect
ion from 'int'
undo.c(812) : warning C4024: 'get4c' : different types for formal and actual par
ameter 1
undo.c(813) : error C2065: 'line_count' : undeclared identifier
undo.c(824) : error C2065: 'str_len' : undeclared identifier
undo.c(824) : error C2065: 'fp' : undeclared identifier
undo.c(824) : warning C4047: 'function' : 'FILE *' differs in levels of indirect
ion from 'int'
undo.c(824) : warning C4024: 'get4c' : different types for formal and actual par
ameter 1
undo.c(825) : error C2065: 'str_len' : undeclared identifier
undo.c(827) : error C2065: 'str_len' : undeclared identifier
undo.c(828) : error C2065: 'line_ptr' : undeclared identifier
undo.c(828) : error C2065: 'str_len' : undeclared identifier
undo.c(828) : warning C4047: '=' : 'int' differs in levels of indirection from '
char_u *'
undo.c(828) : warning C4047: '==' : 'int' differs in levels of indirection from
'void *'
undo.c(833) : error C2065: 'i' : undeclared identifier
undo.c(833) : error C2065: 'i' : undeclared identifier
undo.c(833) : error C2065: 'str_len' : undeclared identifier
undo.c(833) : error C2065: 'i' : undeclared identifier
undo.c(834) : error C2065: 'line_ptr' : undeclared identifier
undo.c(834) : error C2065: 'i' : undeclared identifier
undo.c(834) : error C2109: subscript requires array or pointer type
undo.c(834) : error C2065: 'fp' : undeclared identifier
undo.c(834) : warning C4047: 'function' : 'FILE *' differs in levels of indirect
ion from 'int'
undo.c(834) : warning C4024: 'getc' : different types for formal and actual para
meter 1
undo.c(836) : error C2065: 'line_ptr' : undeclared identifier
undo.c(836) : error C2065: 'i' : undeclared identifier
undo.c(836) : error C2109: subscript requires array or pointer type
undo.c(838) : error C2065: 'line_lnum' : undeclared identifier
undo.c(838) : error C2065: 'fp' : undeclared identifier
undo.c(838) : warning C4047: 'function' : 'FILE *' differs in levels of indirect
ion from 'int'
undo.c(838) : warning C4024: 'get4c' : different types for formal and actual par
ameter 1
undo.c(839) : error C2065: 'line_colnr' : undeclared identifier
undo.c(839) : error C2065: 'fp' : undeclared identifier
undo.c(839) : warning C4047: 'function' : 'FILE *' differs in levels of indirect
ion from 'int'
undo.c(839) : warning C4024: 'get4c' : different types for formal and actual par
ameter 1
undo.c(842) : error C2065: 'old_header_seq' : undeclared identifier
undo.c(842) : error C2065: 'fp' : undeclared identifier
undo.c(842) : warning C4047: 'function' : 'FILE *' differs in levels of indirect
ion from 'int'
undo.c(842) : warning C4024: 'get4c' : different types for formal and actual par
ameter 1
undo.c(843) : error C2065: 'new_header_seq' : undeclared identifier
undo.c(843) : error C2065: 'fp' : undeclared identifier
undo.c(843) : warning C4047: 'function' : 'FILE *' differs in levels of indirect
ion from 'int'
undo.c(843) : warning C4024: 'get4c' : different types for formal and actual par
ameter 1
undo.c(844) : error C2065: 'cur_header_seq' : undeclared identifier
undo.c(844) : error C2065: 'fp' : undeclared identifier
undo.c(844) : warning C4047: 'function' : 'FILE *' differs in levels of indirect
ion from 'int'
undo.c(844) : warning C4024: 'get4c' : different types for formal and actual par
ameter 1
undo.c(845) : error C2065: 'num_head' : undeclared identifier
undo.c(845) : error C2065: 'fp' : undeclared identifier
undo.c(845) : warning C4047: 'function' : 'FILE *' differs in levels of indirect
ion from 'int'
undo.c(845) : warning C4024: 'get4c' : different types for formal and actual par
ameter 1
undo.c(846) : error C2065: 'seq_last' : undeclared identifier
undo.c(846) : error C2065: 'fp' : undeclared identifier
undo.c(846) : warning C4047: 'function' : 'FILE *' differs in levels of indirect
ion from 'int'
undo.c(846) : warning C4024: 'get4c' : different types for formal and actual par
ameter 1
undo.c(847) : error C2065: 'seq_cur' : undeclared identifier
undo.c(847) : error C2065: 'fp' : undeclared identifier
undo.c(847) : warning C4047: 'function' : 'FILE *' differs in levels of indirect
ion from 'int'
undo.c(847) : warning C4024: 'get4c' : different types for formal and actual par
ameter 1
undo.c(848) : error C2065: 'seq_time' : undeclared identifier
undo.c(848) : error C2065: 'fp' : undeclared identifier
undo.c(848) : warning C4047: 'function' : 'FILE *' differs in levels of indirect
ion from 'int'
undo.c(848) : warning C4024: 'get4c' : different types for formal and actual par
ameter 1
undo.c(852) : error C2065: 'uhp_table' : undeclared identifier
undo.c(852) : error C2065: 'num_head' : undeclared identifier
undo.c(852) : warning C4047: '=' : 'int' differs in levels of indirection from '
u_header_T **'
undo.c(853) : error C2065: 'uhp_table' : undeclared identifier
undo.c(853) : warning C4047: '==' : 'int' differs in levels of indirection from
'void *'
undo.c(858) : error C2065: 'uhp_table' : undeclared identifier
undo.c(858) : warning C4022: 'memset' : pointer mismatch for actual parameter 1
undo.c(858) : error C2065: 'num_head' : undeclared identifier
undo.c(860) : error C2065: 'c' : undeclared identifier
undo.c(860) : error C2065: 'fp' : undeclared identifier
undo.c(860) : warning C4047: 'function' : 'FILE *' differs in levels of indirect
ion from 'int'
undo.c(860) : warning C4024: 'getc' : different types for formal and actual para
meter 1
undo.c(861) : error C2065: 'c' : undeclared identifier
undo.c(861) : error C2065: 'c' : undeclared identifier
undo.c(862) : error C2065: 'c' : undeclared identifier
undo.c(862) : error C2065: 'fp' : undeclared identifier
undo.c(862) : warning C4047: 'function' : 'FILE *' differs in levels of indirect
ion from 'int'
undo.c(862) : warning C4024: 'ungetc' : different types for formal and actual pa
rameter 2
undo.c(864) : error C2065: 'found_first_uep' : undeclared identifier
undo.c(865) : error C2065: 'uhp' : undeclared identifier
undo.c(865) : fatal error C1003: error count exceeds 100; stopping compilation
window.c
if_cscope.c
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\cl.EXE"' : return code '0x2'
Stop.


-- 
Erik Falor
Registered Linux User #445632 http://counter.li.org

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui