Hi,

with the current code from the repository I get an error in term.c. (see below)
I'm on windows with MSVC.
I build with: nmake -f Make_mvc.mak GUI=yes OLE=yes CPUNR=i686 PYTHON="C:\Program Files (x86)\Python26" DYNAMIC_PYTHON=yes PYTHON_VER=26

The error came with the last update (2275).
It is caused by the new #ifdef/#endif, without everything is fine (which means: compiles).


Thomas Liebezeit

----


hg log term.c -l 2 gives

changeset:   2275:0b3be97064e5
branch:      vim73
tag:         tip
user:        Bram Moolenaar <b...@vim.org>
date:        Sat Jun 26 06:24:45 2010 +0200
summary:     Various small fixes from Dominique Pelle.

changeset:   2231:770485470e59
branch:      vim73
user:        Bram Moolenaar <b...@vim.org>
date:        Sun May 30 19:00:15 2010 +0200
summary: Add a few #ifdefs to exclude functions that are not used. (Domnique
 Pelle)


The changes


term.c
term.c(5469) : error C2065: 'key_names': nichtdeklarierter Bezeichner
term.c(5469) : error C2109: Index erfordert ein Array oder einen Zeigertyp
term.c(5471) : error C2065: 'key_names': nichtdeklarierter Bezeichner
term.c(5471) : error C2109: Index erfordert ein Array oder einen Zeigertyp
term.c(5471) : error C2168: 'strcmp': Zu wenig Parameter an systeminterne Funkti
on übergeben
term.c(5473) : error C2065: 'xt_index_in': nichtdeklarierter Bezeichner
term.c(5477) : error C2065: 'key_names': nichtdeklarierter Bezeichner
term.c(5477) : error C2109: Index erfordert ein Array oder einen Zeigertyp
term.c(5493) : warning C4013: 'set_color_count' undefiniert; Annahme: extern mit
 Rückgabetyp int
term.c(5510) : error C2065: 'xt_index_in': nichtdeklarierter Bezeichner
term.c(5511) : warning C4013: 'req_more_codes_from_term' undefiniert; Annahme: e
xtern mit Rückgabetyp int
term.c(5526) : error C2065: 'xt_index_out': nichtdeklarierter Bezeichner
term.c(5526) : error C2065: 'xt_index_out': nichtdeklarierter Bezeichner
term.c(5526) : error C2065: 'xt_index_in': nichtdeklarierter Bezeichner

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

Raspunde prin e-mail lui