Fem: [skip ci] include Python.h before vtk headers to fix a warning with clang/MSYS2

This commit is contained in:
wmayer
2022-11-08 10:45:23 +01:00
parent f9363d3140
commit c1bfec1d1a
5 changed files with 7 additions and 0 deletions

View File

@@ -23,6 +23,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
# include <vtkPointData.h>
#endif

View File

@@ -23,6 +23,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
# include <vtkAppendFilter.h>
# include <vtkDataSetReader.h>
# include <vtkImageData.h>

View File

@@ -21,6 +21,9 @@
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
#endif
#include <Base/FileInfo.h>

View File

@@ -28,6 +28,7 @@
# include <cstdlib>
# include <map>
# include <memory>
# include <Python.h>
# include <SMESH_Mesh.hxx>
# include <SMESHDS_Mesh.hxx>

View File

@@ -23,6 +23,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
# include <vtkCompositeDataSet.h>
# include <vtkMultiBlockDataSet.h>
# include <vtkMultiPieceDataSet.h>