Karsten Hopp 0cac0f
To: vim_dev@googlegroups.com
Karsten Hopp 0cac0f
Subject: Patch 7.4.626
Karsten Hopp 0cac0f
Fcc: outbox
Karsten Hopp 0cac0f
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 0cac0f
Mime-Version: 1.0
Karsten Hopp 0cac0f
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 0cac0f
Content-Transfer-Encoding: 8bit
Karsten Hopp 0cac0f
------------
Karsten Hopp 0cac0f
Karsten Hopp 0cac0f
Patch 7.4.626
Karsten Hopp 0cac0f
Problem:    MSVC with W4 gives useless warnings.
Karsten Hopp 0cac0f
Solution:   Disable more warnings. (Mike Williams)
Karsten Hopp 0cac0f
Files:	    src/vim.h
Karsten Hopp 0cac0f
Karsten Hopp 0cac0f
Karsten Hopp 0cac0f
*** ../vim-7.4.625/src/vim.h	2015-01-27 12:59:51.859602392 +0100
Karsten Hopp 0cac0f
--- src/vim.h	2015-02-10 18:46:02.294862211 +0100
Karsten Hopp 0cac0f
***************
Karsten Hopp 0cac0f
*** 2044,2049 ****
Karsten Hopp 0cac0f
--- 2044,2063 ----
Karsten Hopp 0cac0f
  #ifdef _MSC_VER
Karsten Hopp 0cac0f
  /* Avoid useless warning "conversion from X to Y of greater size". */
Karsten Hopp 0cac0f
   #pragma warning(disable : 4312)
Karsten Hopp 0cac0f
+ /* Avoid warning for old style function declarators */
Karsten Hopp 0cac0f
+  #pragma warning(disable : 4131)
Karsten Hopp 0cac0f
+ /* Avoid warning for conversion to type with smaller range */
Karsten Hopp 0cac0f
+  #pragma warning(disable : 4244)
Karsten Hopp 0cac0f
+ /* Avoid warning for conversion to larger size */
Karsten Hopp 0cac0f
+  #pragma warning(disable : 4306)
Karsten Hopp 0cac0f
+ /* Avoid warning for unreferenced formal parameter */
Karsten Hopp 0cac0f
+  #pragma warning(disable : 4100)
Karsten Hopp 0cac0f
+ /* Avoid warning for differs in indirection to slightly different base type */
Karsten Hopp 0cac0f
+  #pragma warning(disable : 4057)
Karsten Hopp 0cac0f
+ /* Avoid warning for constant conditional expression */
Karsten Hopp 0cac0f
+  #pragma warning(disable : 4127)
Karsten Hopp 0cac0f
+ /* Avoid warning for assignment within conditional */
Karsten Hopp 0cac0f
+  #pragma warning(disable : 4706)
Karsten Hopp 0cac0f
  #endif
Karsten Hopp 0cac0f
  
Karsten Hopp 0cac0f
  /* Note: a NULL argument for vim_realloc() is not portable, don't use it. */
Karsten Hopp 0cac0f
*** ../vim-7.4.625/src/version.c	2015-02-10 18:41:53.010111874 +0100
Karsten Hopp 0cac0f
--- src/version.c	2015-02-10 18:45:09.087555683 +0100
Karsten Hopp 0cac0f
***************
Karsten Hopp 0cac0f
*** 743,744 ****
Karsten Hopp 0cac0f
--- 743,746 ----
Karsten Hopp 0cac0f
  {   /* Add new patch number below this line */
Karsten Hopp 0cac0f
+ /**/
Karsten Hopp 0cac0f
+     626,
Karsten Hopp 0cac0f
  /**/
Karsten Hopp 0cac0f
Karsten Hopp 0cac0f
-- 
Karsten Hopp 0cac0f
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 0cac0f
213. Your kids start referring to you as "that guy in front of the monitor."
Karsten Hopp 0cac0f
Karsten Hopp 0cac0f
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 0cac0f
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 0cac0f
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 0cac0f
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///