Hello.

As it was discussed earlier, on MS VC++ 2005 additional defines is required in order to use some of the standard C library functions without warnings. This defines should be done before inclusion of a windows.h header. This defines was added into vim.h. In if_ole.cpp vim.h is included after windows.h.
*** if_ole.cpp  3 May 2006 21:18:50 -0000       1.6
--- if_ole.cpp  24 Jun 2006 11:10:01 -0000
***************
*** 13,23 ****
   * See os_mswin.c for the client side.
   */

  #include <windows.h>
  #include <oleauto.h>

  extern "C" {
- #include "vim.h"
  extern HWND s_hwnd;
  extern HWND vim_parent_hwnd;
  }
--- 13,26 ----
   * See os_mswin.c for the client side.
   */

+ extern "C" {
+ #include "vim.h"
+ }
+
  #include <windows.h>
  #include <oleauto.h>

  extern "C" {
  extern HWND s_hwnd;
  extern HWND vim_parent_hwnd;
  }

Reply via email to