On 11/02/09 16:46, Bram Moolenaar wrote:
>
> Patch 7.2.105
> Problem:    Modeline setting for 'foldmethod' overrules diff options. (Ingo
>           Karkat)
> Solution:   Don't set 'foldmethod' and 'wrap' from a modeline when 'diff' is
>           on.
> Files:            src/option.c

Error when compiling with "tiny" features:

option.c: In function ‘do_set’:
option.c:4133: error: ‘win_T’ has no member named ‘w_p_diff’
option.c:4134: error: ‘PV_FDM’ undeclared (first use in this function)
option.c:4134: error: (Each undeclared identifier is reported only once
option.c:4134: error: for each function it appears in.)
make: *** [objects/option.o] Error 1

"Huge" compile went OK.

Here are my "tiny" config settings:

export CONF_OPT_X='--without-x'
export CONF_OPT_GUI='--disable-gui'
export CONF_OPT_FEAT='--with-features=tiny'
export CONF_OPT_PERL='--disable-perlinterp'
export CONF_OPT_PYTHON='--disable-pythoninterp'
export CONF_OPT_TCL='--disable-tclinterp'
export CONF_OPT_RUBY='--disable-rubyinterp'
export CONF_OPT_MZSCHEME='--disable-mzschemeinterp'
export CONF_OPT_CSCOPE='--disable-cscope'
export CONF_OPT_MULTIBYTE='--disable-multibyte'
export CONF_OPT_COMPBY='"[email protected]"'
export CONF_OPT_NETBEANS='--disable-netbeans'
export CONF_OPT_NLS='--disable-nls'
export CONF_OPT_ACL='--disable-acl'
export CONF_OPT_GPM='--disable-gpm'
export CONF_OPT_SYSMOUSE='--disable-sysmouse'
export CONF_ARGS='--with-vim-name=vi'

I also have the following patch to feature.h in both huge and tiny modes 
(I don't think it's relevant to the error but I'm quoting it for 
completeness), and Bill McCarthy's additional float functions (which are 
ifdeffed away in tiny mode anyway).

--- src/feature.h       2008-08-09 20:40:06.000000000 +0200
+++ ../vim72/src/feature.h      2008-08-09 20:46:48.000000000 +0200
@@ -354,13 +354,13 @@

  /*
   * +tag_old_static    Old style static tags: "file:tag  file  ..".  Slows
   *                    down tag searching a bit.
   */
  #ifdef FEAT_NORMAL
-# define FEAT_TAG_OLDSTATIC
+/* # define FEAT_TAG_OLDSTATIC */      /* AJM */
  #endif

  /*
   * +tag_any_white     Allow any white space to separate the fields in a tags
   *                    file.  When not defined, only a TAB is allowed.
   */
@@ -829,13 +829,13 @@

  /*
   * +xterm_save                The t_ti and t_te entries for the builtin xterm 
will
   *                    be set to save the screen when starting Vim and
   *                    restoring it when exiting.
   */
-/* #define FEAT_XTERM_SAVE */
+#define FEAT_XTERM_SAVE            /* AJM */

  /*
   * DEBUG              Output a lot of debugging garbage.
   */
  /* #define DEBUG */


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui