Lech Lorens wrote:

> On 6 June 2012 19:35, Tony Mechelynck <[email protected]> wrote:
> > Compiling gvim (Huge) wigh GTK2/Gnome2 GUI after applying patches 7.3.539 to
> > 7.3.544:
> >
> > 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   -o objects/ops.o ops.c
> >
> > ops.c: In function ‘do_join’:
> >
> > ops.c:4453:22: warning: ‘comments’ may be used uninitialized in this
> > function [-Wuninitialized]
> 
> Strange, I can't get my gcc to complain in this way. What version of
> gcc are you using?
> Can you check whether initializing "comments" with a NULL at the start
> of the function
> silences your compiler?
> Thanks!

Only happens when optimizing.  I'll fix it.

-- 
If Pacman had affected us as kids we'd be running around in dark rooms,
munching pills and listening to repetitive music.
                       -- Marcus Brigstocke

 /// 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

Raspunde prin e-mail lui