Tony wrote:
> On Sun, Feb 18, 2018 at 10:13 PM, Bram Moolenaar <[email protected]> wrote:
> >
> > Patch 8.0.1523
> > Problem: Cannot write and read terminal screendumps.
> > Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff().
> > Also add assert_equalfile().
> > Files: src/terminal.c, src/proto/terminal.pro, src/evalfunc.c,
> > src/normal.c, src/eval.c, src/proto/eval.pro,
> > runtime/doc/eval.txt, src/testdir/test_assert.vim
>
> Warning in Huge build (but not in Tiny build):
>
> 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/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
> -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -D_REENTRANT
> -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0
> -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0
> -I/usr/include/libxml2 -I/usr/include/libgnome-2.0
> -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0
> -I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0
> -I/usr/include/gail-1.0 -I/usr/include/libart-2.0
> -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16
> -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
> -I/usr/include/pango-1.0 -I/usr/include/freetype2
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
> -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include
> -I/usr/include/gconf/2 -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 -O2 -fno-strength-reduce -Wall
> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/terminal.o
> terminal.c
> terminal.c: In function ‘term_load_dump.isra.16’:
> terminal.c:3353:9: warning: ‘fd2’ may be used uninitialized in this
> function [-Wmaybe-uninitialized]
> width2 = read_dump_file(fd2);
> ^
> terminal.c:3289:46: warning: ‘fname2’ may be used uninitialized in
> this function [-Wmaybe-uninitialized]
> if (fname1 == NULL || (do_diff && fname2 == NULL))
> ^
Thanks for reporting. It doesn't happen with my compiler, but I can
guess where the complaints come from. Please try again after the next
patch.
--
ARTHUR: Go on, Bors, chop its head off.
BORS: Right. Silly little bleeder. One rabbit stew coming up.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// 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.