Tony Mechelynck wrote:

> After about two weeks AFK, downloaded 7.3 patches 981 to 1115 (and 
> intervening runtime changes), tried to compile (full build, "make 
> reconfig").
> 
> Tiny build fails as follows:
> 
> gcc -c -I. -Iproto -DHAVE_CONFIG_H   -I/usr/local/include  -O2 
> -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 
> -o objects/regexp.o regexp.c
> In file included from regexp.c:7875:0:
> regexp_nfa.c: In function ‘nfa_regmatch’:
> regexp_nfa.c:4794:3: warning: implicit declaration of function 
> ‘reg_match_visual’ [-Wimplicit-function-declaration]
> [...]
> link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
>    gcc   -L/usr/local/lib -Wl,--as-needed        -o vi objects/buffer.o 
> objects/blowfish.o objects/charset.o objects/diff.o objects/digraph.o 
> objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o 
> objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o 
> objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o 
> objects/if_cscope.o objects/if_xcmdsrv.o objects/mark.o 
> objects/memline.o objects/menu.o objects/message.o objects/misc1.o 
> objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o 
> objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o 
> objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o 
> objects/search.o objects/sha256.o objects/spell.o objects/syntax.o 
> objects/tag.o objects/term.o objects/ui.o objects/undo.o 
> objects/version.o objects/window.o             objects/main.o 
> objects/memfile.o        -lm -lncurses  -ldl
> objects/regexp.o: In function `nfa_regmatch':
> regexp.c:(.text+0x3f2c): undefined reference to `reg_match_visual'
> collect2: ld returned 1 exit status
> link.sh: Linking failed
> make: *** [vi] Error 1
> exit status 2

That's fixed in patch 1116.

> Huge build (with among others +python -python3) links, but with warnings 
> in compile phase for if_py_both.h included in if_python.c:
> 
> 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/atk-1.0 -I/usr/include/cairo 
> -I/usr/include/gdk-pixbuf-2.0 -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 
> -I/usr/include/libpng14   -pthread -DORBIT2=1 -D_REENTRANT 
> -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 
> -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 
> -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 
> -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gnome-vfs-2.0 
> -I/usr/lib64/gnome-vfs-2.0/include -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 -I/usr/include/orbit-2.0 
> -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 
> -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 
> -I/usr/include/freetype2 -I/usr/include/atk-1.0 
> -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo 
> -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libpng14 
>    -I/usr/local/include  -O2 -fno-strength-reduce -Wall 
> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include 
> -D_LARGEFILE64_SOURCE=1   -I/usr/include/python2.7 
> -DPYTHON_HOME=\"/usr\" -pthread  -o objects/if_python.o if_python.c
> In file included from if_python.c:761:0:
> if_py_both.h: In function ‘_DictionaryItem’:
> if_py_both.h:1114:2: warning: dereferencing type-punned pointer will 
> break strict-aliasing rules [-Wstrict-aliasing]
> if_py_both.h: In function ‘DictionaryContains’:
> if_py_both.h:1153:5: warning: dereferencing type-punned pointer will 
> break strict-aliasing rules [-Wstrict-aliasing]
> if_py_both.h:1153:5: warning: dereferencing type-punned pointer will 
> break strict-aliasing rules [-Wstrict-aliasing]

Looks like this is in a macro provided by Python.

-- 
>From "know your smileys":
 :-)-O  Smiling doctor with stethoscope

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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/groups/opt_out.


Raspunde prin e-mail lui