Tony Mechelynck wrote: > Build problems after adding patches 7.4.1616 to 7.4.1626 (plus one > runtime files update) > > 1. Warning in channel.c (in Huge only since this file is not compiled for > Tiny): > > 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/lib64/glib-2.0/include -O2 -fno-strength-reduce -Wall > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/channel.o > channel.c > channel.c: In function ‘channel_part_info’: > channel.c:2121:20: warning: ‘s’ may be used uninitialized in this > function [-Wmaybe-uninitialized] > dict_add_nr_str(dict, namebuf, 0, (char_u *)s); > ^
Looks like your compiler doesn't understand a switch on all enum values guarantees one of the case blocks is always used. > 2. "make install" fails if runtime/doc/tags is not found (I'm using a > shadowdir) > Workaround: > pushd ../../runtime/doc > make tags > popd > > then "make install" runs to completion. It seems however that "make > tags" compiles and runs a program "dogtags" instead of the usual vim > run which is part of "make install". ??? > > This error did not happen previously. What has been changed? The tags file is part of the distribution. Did you remove it? > I suggest to make the "mv -f tags tags.dist" step conditional on the > existence of the tagfile. Then the vim run will generate the tagfile > anyway. > > N.B. I have to delete the tagfile locally before fetching changes > whenever there is a change to it on the remote, otherwise (since it is > locally hg-ignored) hg fetch will stop on error after the pull but > before the merge. This did not happen with the previous version of > Mercurial (new in openSUSE Leap 42.1, did not happen on openSUSE 13.2) Since the tags file will no longer be changed locally by "make install" it should work better now. We can check if the file exists, just in case it was removed for some reason. "make install" will then leave the new one behind. -- A fool learns from his mistakes, a wise man from someone else's. /// 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/d/optout.
