Cesar Romani wrote:
> By building vim 7.4.1385 on Windows 7 with MinGW, I get following
> warnings:
>
> --------------------
> [...]
> ex_cmds2.c: In function 'source_pack_plugin':
> ex_cmds2.c:3076:9: warning: 'p6' may be used uninitialized in this
> function [-Wmaybe-uninitialized]
> c = *p6;
> ^
I'll fix that.
> [...]
> getchar.c: In function 'check_map':
> getchar.c:5221:7: warning: assuming signed overflow does not occur when
> assuming that (X - c) <= X is always true [-Wstrict-overflow]
> if (len > mp->m_keylen - 3)
> ^
That looks like a compiler problem.
> [...]
> pathdef.c:6:32: warning: unknown escape sequence: '\l' [enabled by default]
>
> [...]
> undo.c: In function 'u_save_cursor':
> undo.c:270:6: warning: assuming signed overflow does not occur when
> assuming that (X - c) > X is always false [-Wstrict-overflow]
> || top >= bot
> ^
This one too.
> [...]
> os_win32.c: In function 'read_console_input.constprop.22':
> os_win32.c:299:28: warning: array subscript is above array bounds
> [-Warray-bounds]
> s_irCache[i] = s_irCache[i + 1];
> ^
Not sure how to fix this. Or even if this is a real problem.
--
ARTHUR: Be quiet!
DENNIS: Well you can't expect to wield supreme executive power just 'cause
some watery tart threw a sword at you!
ARTHUR: Shut up!
DENNIS: I mean, if I went around sayin' I was an empereror just because some
moistened bint had lobbed a scimitar at me they'd put me away!
The Quest for the Holy Grail (Monty Python)
/// 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.