Fem: [skip ci] include Python.h before vtk headers to fix a warning with clang/MSYS2
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <Python.h>
|
||||
# include <vtkPointData.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <Python.h>
|
||||
# include <vtkAppendFilter.h>
|
||||
# include <vtkDataSetReader.h>
|
||||
# include <vtkImageData.h>
|
||||
|
||||
@@ -21,6 +21,9 @@
|
||||
***************************************************************************/
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <Python.h>
|
||||
#endif
|
||||
|
||||
#include <Base/FileInfo.h>
|
||||
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
# include <cstdlib>
|
||||
# include <map>
|
||||
# include <memory>
|
||||
# include <Python.h>
|
||||
|
||||
# include <SMESH_Mesh.hxx>
|
||||
# include <SMESHDS_Mesh.hxx>
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <Python.h>
|
||||
# include <vtkCompositeDataSet.h>
|
||||
# include <vtkMultiBlockDataSet.h>
|
||||
# include <vtkMultiPieceDataSet.h>
|
||||
|
||||
Reference in New Issue
Block a user