On 22/08/14 23:43, Tony Mechelynck wrote:
On 22/08/14 23:06, Bram Moolenaar wrote:
Patch 7.4.414
Problem: Cannot define a command only when it's used.
Solution: Add the CmdUndefined autocommand event. (partly by Yasuhiro
Matsumoto)
Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/fileio.c,
src/proto/fileio.pro
In the Huge build but not in the Tiny build I get the following error:
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread
-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng12
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -D_REENTRANT
-DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0
-I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0
-I/usr/include/libxml2 -I/usr/include/libgnome-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0
-I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/libdrm -I/usr/include/libpng12 -I/usr/include/pango-1.0
-I/usr/include/harfbuzz -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/libpng16 -I/usr/include/gnome-vfs-2.0
-I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gconf/2
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2
-fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
-I/usr/include -D_REENTRANT=1 -D_THREAD_SAFE=1
-D_LARGEFILE64_SOURCE=1 -o objects/ex_docmd.o ex_docmd.c
ex_docmd.c: In function ‘do_one_cmd’:
ex_docmd.c:2159:23: error: ‘EVENT_CMDUNDEFINED’ undeclared (first use in
this function)
ret = apply_autocmds(EVENT_CMDUNDEFINED, p, p, TRUE, NULL);
^
ex_docmd.c:2159:23: note: each undeclared identifier is reported only
once for each function it appears in
make: *** [objects/ex_docmd.o] Error 1
Shouldn't EVENT_CMDUNDEFINED have been inserted into src/vim.h
(somewhere at or above line 1329, is my guess)? That file is not
modified by this changeset.
P.S. Actually it was added at exactly that line in Yatsuhiro Matsumoto's
original patch on GitHub.
Best regards,
Tony.
--
The only justification for our concepts and systems of concepts is that they
serve to represent the complex of our experiences; beyond this they have
no legitimacy.
-- Albert Einstein
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.