Hello!

Maybe it is not purely usage case, but it does not look like a
development issue either :)

I'm trying to compile vim7.2. I've applied all of the patches (1-272),
enabled gtk2 gui and selected FEAT_NORMAL.
Then I run make and get the following error right on the first file to
be compiled.

gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK
-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng12     -O2 -march=athlon64 -pipe         -o
objects/buffer.o buffer.c
buffer.c: In function 'do_buffer':
buffer.c:1090: error: too many arguments to function 'do_ecmd'
buffer.c: In function 'set_curbuf':
buffer.c:1313: error: too many arguments to function 'buflist_altfpos'
buffer.c: In function 'buflist_altfpos':
buffer.c:2847: error: number of arguments doesn't match prototype
proto/buffer.pro:36: error: prototype declaration
buffer.c: In function 'do_arg_all':
buffer.c:4544: error: too many arguments to function 'do_ecmd'
make: *** [objects/buffer.o] Error 1

I've checked the prototype

proto/ex_cmds.pro:int do_ecmd __ARGS((int fnum, char_u *ffname, char_u
*sfname, exarg_T *eap, linenr_T newlnum, int flags));

the line 1090 from do_ecmd reads

            retval = do_ecmd(0, NULL, NULL, NULL, ECMD_ONE,
                                          forceit ? ECMD_FORCEIT : 0, curwin);


What am I doing wrong?

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

Reply via email to