Tony Mechelynck wrote:

> After applying the latest 10 patches (54-63) to Vim, I get a number of 
> warnings (below). Since the compile proceeds to completion, I shall 
> "install" the resulting executable; but you may (or may not) want to 
> investigate this more deeply. I don't feel competent to determine which 
> of these warnings (if any) are really important.
> 
> - Using the top-level Makefile with "gcc (GCC) 3.3.5 20050117 
> (prerelease) (SUSE Linux)" on SuSE 9.3
> 
> - Configuration settings:
> export CONF_OPT_GUI='--enable-gnome-check'
> export CONF_OPT_PERL='--enable-perlinterp'
> export CONF_OPT_PYTHON='--enable-pythoninterp'
> export CONF_OPT_TCL='--enable-tclinterp --with-tcl=tclsh8.4'
> export CONF_OPT_RUBY='--enable-rubyinterp'
> export CONF_OPT_MZSCHEME='--enable-mzschemeinterp'
> export CONF_OPT_CSCOPE='--enable-cscope'
> export CONF_OPT_MULTIBYTE='--enable-multibyte'
> export CONF_OPT_OUTPUT='--enable-fontset'
> export CONF_OPT_FEAT='--with-features=huge'
> export CONF_OPT_COMPBY='"[EMAIL PROTECTED]"'
> 
> (but mzscheme and xfontset are disabled by configure).
> 
> - Extracts from the make log:
> [...]
> edit.c: In function `ins_compl_prep':
> edit.c:3225: warning: `temp' might be used uninitialized in this function

That is right, "temp" should be initialized.

> [...]
> if_perl.c: In function `boot_VIM':
> if_perl.c:1490: warning: unused variable `items'

These can't be avoided, they are caused by the Perl stuff.

> [...]
> In file included from /usr/include/python2.4/Python.h:8,
>                   from if_python.c:41:
> /usr/include/python2.4/pyconfig.h:832:1: warning: "_POSIX_C_SOURCE" 
> redefined
> In file included from /usr/include/stdio.h:28,
>                   from os_unix.h:21,
>                   from vim.h:233,
>                   from if_python.c:20:
> /usr/include/features.h:150:1: warning: this is the location of the 
> previous definition

This is a problem in a Python include file.

> [...]
> /usr/lib/python2.4/config/libpython2.4.a(posixmodule.o)(.text+0x90a): In 
> function `posix_tmpnam':
> : warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
> /usr/lib/python2.4/config/libpython2.4.a(posixmodule.o)(.text+0x9df): In 
> function `posix_tempnam':
> : warning: the use of `tempnam' is dangerous, better use `mkstemp'
> link.sh: Linked fine with a few libraries removed
> [...]

This also is a problem in Python.

-- 
"Hit any key to continue" is a lie.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to