[vtk-developers] New VTK wrapping tools and a function pointer typedef question...

Wylie, Brian bnwylie at sandia.gov
Thu Nov 11 16:27:38 EST 2010


If you blocked on this (like I was) you can apply this one line patch...

bnwylie at S914708 /c/work/Titan/TPL/VTK (master)
$ git diff
diff --git a/Common/vtkWin32Header.h b/Common/vtkWin32Header.h
index c20a502..7bb046d 100644
--- a/Common/vtkWin32Header.h
+++ b/Common/vtkWin32Header.h
@@ -64,7 +64,7 @@ Do_not_include_vtkWin32Header_directly__vtkSystemIncludes_includes_it;
 //
 #ifndef VTK_CB_CC
 #ifdef _WIN32
-#define VTK_CB_CC __stdcall
+#define VTK_CB_CC
 #else
 #define VTK_CB_CC
 #endif


  Brian Wylie - Org 1424
  Sandia National Laboratories
  MS 1323 - Building CSRI/242
  (505)844-2238 FAX(505)284-2518   
       _______ __
      /_  __(_) /_____ _____
       / / / / __/ __ `/ __ \
      / / / / /_/ /_/ / / / /
     /_/ /_/\__/\__,_/_/ /_/
 Scalable Analysis and Visualization






More information about the vtk-developers mailing list