Fem: include Python.h before any vtk headers to fix compiler warnings
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <Python.h>
|
||||
# include <cstdlib>
|
||||
# include <memory>
|
||||
# include <Bnd_Box.hxx>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <Python.h>
|
||||
# include <vtkFieldData.h>
|
||||
# include <vtkPointData.h>
|
||||
#endif
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <Python.h>
|
||||
# include <vtkPointData.h>
|
||||
# include <vtkCellData.h>
|
||||
#endif
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <Python.h>
|
||||
# include <SMESH_Mesh.hxx>
|
||||
# include <vtkDataSetReader.h>
|
||||
# include <vtkGeometryFilter.h>
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <Python.h>
|
||||
# include <cstdlib>
|
||||
# include <memory>
|
||||
# include <cmath>
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <Python.h>
|
||||
# include <vtkPolyData.h>
|
||||
# include <vtkStructuredGrid.h>
|
||||
# include <vtkRectilinearGrid.h>
|
||||
|
||||
Reference in New Issue
Block a user