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