Hi,

When building the latest Vim on MS-Windows using mingw GCC, I see
the following warning messages:

In file included from ex_getln.c:14:0:
ex_getln.c: In function 'handle_viminfo_history':
vim.h:1665:45: warning: 'len' may be used uninitialized in this function [-Wmayb
e-uninitialized]
 #  define mch_memmove(to, from, len) memmove(to, from, len)
                                             ^
ex_getln.c:6273:12: note: 'len' was declared here
     long_u len;
            ^
getchar.c: In function 'check_map':
getchar.c:5213: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)
       ^
os_win32.c: In function 'read_console_input.constprop.23':
os_win32.c:298:28: warning: array subscript is above array bounds [-Warray-bound
s]
    s_irCache[i] = s_irCache[i + 1];
                            ^
undo.c: In function 'u_save_cursor':
undo.c:270:6: warning: assuming signed overflow does not occur when assuming tha
t (X - c) > X is always false [-Wstrict-overflow]
      || top >= bot


- Yegappan

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

Raspunde prin e-mail lui