Axel Bender wrote:

> Windows 7 64-bit, MinGw 64
> 
> >>>CONSOLE<<<
> 
> gcc -c -Iproto -DWIN32 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -DHAVE_PATHDEF 
> -DFEAT_BIG -DMS_WIN64 -DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT 
> -DFEAT_CSCOPE -DFEAT_CHANNEL -DFEAT_MBYTE -DFEAT_MBYTE_IME -DDYNAMIC_IME 
> -DDYNAMIC_ICONV -pipe -march=x86-64 -Wall -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 
> -DDYNAMIC_PYTHON3_DLL=\"python32.dll\" -O3 -fomit-frame-pointer 
> -freg-struct-return -s os_win32.c -o objx86-64/os_win32.o
> 
> 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];

I don't see anything wrong with the code, and it's been working for
years.  Looks like a compiler bug.

-- 
My girlfriend told me I should be more affectionate.
So I got TWO girlfriends.

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

Raspunde prin e-mail lui