Re: [patch] fixed compilation warning in version.c with gcc-4.7
- Dominique Pelle wrote:
> Compiling vim-7.3.462 with gcc-4.7.0 20120213 (experimental),Thanks!
> gives the following compilation warning:
> version.c:2189:14: warning: array subscript is above array bounds
> Warning looks scary but in this case it is harmless.
> Attached patch changes the code to avoid the warning.
"The sun oozed over the horizon, shoved aside darkness, crept along the
greensward, and, with sickly fingers, pushed through the castle window,
revealing the pillaged princess, hand at throat, crown asunder, gaping
in frenzied horror at the sated, sodden amphibian lying beside her,
disbelieving the magnitude of the frog's deception, screaming madly,
- Winner of the Bulwer-Lytton contest (San Jose State University),
wherein one writes only the first line of a bad novel
/// Bram Moolenaar -- Bram@... -- 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