Fem: include Python.h before any vtk headers to fix compiler warnings

This commit is contained in:
wmayer
2022-03-24 20:05:27 +01:00
parent 6abef5bee1
commit ee28112968
10 changed files with 9 additions and 17 deletions

View File

@@ -25,23 +25,6 @@
#ifndef _PreComp_
# include <memory>
# include <cstdlib>
# include <SMESH_Gen.hxx>
# include <SMESH_Group.hxx>
# include <SMESHDS_Mesh.hxx>
# include <SMDS_MeshNode.hxx>
# include <StdMeshers_MaxLength.hxx>
# include <StdMeshers_LocalLength.hxx>
# include <StdMeshers_NumberOfSegments.hxx>
# include <StdMeshers_AutomaticLength.hxx>
# include <StdMeshers_MEFISTO_2D.hxx>
# include <StdMeshers_Deflection1D.hxx>
# include <StdMeshers_MaxElementArea.hxx>
# include <StdMeshers_Regular_1D.hxx>
# include <StdMeshers_QuadranglePreference.hxx>
# include <StdMeshers_Quadrangle_2D.hxx>
# include <StdMeshers_LengthFromEdges.hxx>
# include <StdMeshers_NotConformAllowed.hxx>
# include <StdMeshers_Arithmetic1D.hxx>
# include <Standard_Real.hxx>
#endif

View File

@@ -24,6 +24,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
# include <cstdlib>
# include <memory>
# include <Bnd_Box.hxx>

View File

@@ -26,6 +26,7 @@
#ifndef _PreComp_
# include <algorithm>
# include <stdexcept>
# include <Python.h>
# include <SMESH_Gen.hxx>
# include <SMESH_Group.hxx>
# include <SMESH_Mesh.hxx>

View File

@@ -25,6 +25,7 @@
#include <SMESH_Version.h>
#ifndef _PreComp_
# include <Python.h>
# include <SMESH_Gen.hxx>
# include <SMESHDS_Mesh.hxx>
# include <SMESH_Mesh.hxx>

View File

@@ -24,6 +24,7 @@
#include <SMESH_Version.h>
#ifndef _PreComp_
# include <Python.h>
# include <SMESH_Gen.hxx>
# include <SMESH_Mesh.hxx>
# include <SMDS_VolumeTool.hxx>

View File

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

View File

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

View File

@@ -23,6 +23,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
# include <SMESH_Mesh.hxx>
# include <vtkDataSetReader.h>
# include <vtkGeometryFilter.h>

View File

@@ -24,6 +24,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
# include <cstdlib>
# include <memory>
# include <cmath>

View File

@@ -23,6 +23,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
# include <vtkPolyData.h>
# include <vtkStructuredGrid.h>
# include <vtkRectilinearGrid.h>