a60928d
To: vim-dev@vim.org
a60928d
Subject: Patch 7.0.045 (extra)
a60928d
Fcc: outbox
a60928d
From: Bram Moolenaar <Bram@moolenaar.net>
a60928d
Mime-Version: 1.0
a60928d
Content-Type: text/plain; charset=ISO-8859-1
a60928d
Content-Transfer-Encoding: 8bit
a60928d
------------
a60928d
a60928d
Patch 7.0.045 (extra)
a60928d
Problem:    Win32: Warnings when compiling OLE version with MSVC 2005.
a60928d
Solution:   Move including vim.h to before windows.h. (Ilya Bobir)
a60928d
Files:	    src/if_ole.cpp
a60928d
a60928d
a60928d
*** ../vim-7.0.044/src/if_ole.cpp	Wed May  3 23:18:50 2006
a60928d
--- src/if_ole.cpp	Sat Jun 24 13:36:52 2006
a60928d
***************
a60928d
*** 13,23 ****
a60928d
   * See os_mswin.c for the client side.
a60928d
   */
a60928d
  
a60928d
  #include <windows.h>
a60928d
  #include <oleauto.h>
a60928d
  
a60928d
  extern "C" {
a60928d
- #include "vim.h"
a60928d
  extern HWND s_hwnd;
a60928d
  extern HWND vim_parent_hwnd;
a60928d
  }
a60928d
--- 13,26 ----
a60928d
   * See os_mswin.c for the client side.
a60928d
   */
a60928d
  
a60928d
+ extern "C" {
a60928d
+ #include "vim.h"
a60928d
+ }
a60928d
+ 
a60928d
  #include <windows.h>
a60928d
  #include <oleauto.h>
a60928d
  
a60928d
  extern "C" {
a60928d
  extern HWND s_hwnd;
a60928d
  extern HWND vim_parent_hwnd;
a60928d
  }
a60928d
*** ../vim-7.0.044/src/version.c	Tue Aug  8 16:47:38 2006
a60928d
--- src/version.c	Tue Aug  8 17:04:14 2006
a60928d
***************
a60928d
*** 668,669 ****
a60928d
--- 668,671 ----
a60928d
  {   /* Add new patch number below this line */
a60928d
+ /**/
a60928d
+     45,
a60928d
  /**/
a60928d
a60928d
-- 
a60928d
From "know your smileys":
a60928d
 %	Bike accident.  A bit far-fetched, I suppose; although...
a60928d
             o      _     _         _
a60928d
     _o     /\_   _ \\o  (_)\__/o  (_)
a60928d
   _< \_   _>(_) (_)/<_    \_| \   _|/' \/
a60928d
  (_)>(_) (_)        (_)   (_)    (_)'  _\o_
a60928d
a60928d
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
a60928d
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
a60928d
\\\        download, build and distribute -- http://www.A-A-P.org        ///
a60928d
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///