Hi
Attached patch fixes a build error and a warning when building vim7.3a with:
$ ./configure --with-features=tiny --enable-gui=no --enable-perlinterp
$ make
...
if_perl.xs:699:9: warning: unused variable ‘safe’
...
home/pel/sb/vim/src/if_perl.xs:1261: undefined reference to `update_curbuf'
-- Dominique
--
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
diff -r 12ebd6f6dfce src/if_perl.xs
--- a/src/if_perl.xs Sun Jun 06 16:11:09 2010 +0200
+++ b/src/if_perl.xs Sun Jun 06 17:45:58 2010 +0200
@@ -696,7 +696,9 @@
char *script;
STRLEN length;
SV *sv;
+#ifdef HAVE_SANDBOX
SV *safe;
+#endif
script = (char *)script_get(eap, eap->arg);
if (eap->skip)
diff -r 12ebd6f6dfce src/screen.c
--- a/src/screen.c Sun Jun 06 16:11:09 2010 +0200
+++ b/src/screen.c Sun Jun 06 17:45:58 2010 +0200
@@ -297,7 +297,7 @@
#endif
}
-#if defined(FEAT_RUBY) || defined(FEAT_VISUAL) || \
+#if defined(FEAT_RUBY) || defined(FEAT_PERL) || defined(FEAT_VISUAL) || \
(defined(FEAT_CLIPBOARD) && defined(FEAT_X11)) || defined(PROTO)
/*
* update all windows that are editing the current buffer