Sunday, June 16, 2013

Re: Error compiling Vim on Windows

Salman Halim wrote:

> Guys,
>
> Lately, I've been getting a compiler error when building Vim on Windows 7
> using patches higher than 7.3.944 (that's the last stable build I have).
> Just wondering if anybody else has seen this.
>
> I'm using Borland's C compiler (bcc) and build using this command-line:
>
> make -f Make_bc5.mak clean
> make -f Make_bc5.mak BOR=%BOR% GUI=yes FEATURES=HUGE PYTHON=d:\Python27
> PYTHON_VER=27 DYNAMIC_PYTHON=yes
>
> The first thing I notice are these warnings:
>
> .\misc1.c:
> Warning W8065 .\misc1.c 4529: Call to function 'init_users' with no
> prototype in function get_users
> Warning W8065 .\misc1.c 4548: Call to function 'init_users' with no
> prototype in function match_user
>
> And then:
>
> .\regexp.c:
> Warning W8065 .\regexp_nfa.c 745: Call to function 'realloc_post_list' with
> no prototype in function nfa_emit_equi_class
>
> These start for line 745 and go on until line 800, resulting in 100 total
> warnings. This causes the build to abort because:
>
> Error E2228 .\regexp_nfa.c 800: Too many error or warning messages in
> function nfa_emit_equi_class
> *** 1 errors in Compile ***
>
> Any suggestions would be fantastic. (I don't subscribe to the dev list so I
> don't think I can ask them this question over there.)

Try the following patch.

--
"The amigos also appear to be guilty of not citing the work of others who had
gone before them. Even worse, they have a chapter about modeling time and
space without making a single reference to Star Trek!"
(Scott Ambler, reviewing the UML User Guide)

/// Bram Moolenaar -- Bram@Moolenaar.net -- 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_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment