]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix compilation error (conflict of OK name between OCCT Plate_Plate.hxx and GEOM... V9_13_0a1 V9_13_0a2 V9_13_0b1
authorjfa <jfa@opencascade.com>
Mon, 27 May 2024 19:11:28 +0000 (20:11 +0100)
committerjfa <jfa@opencascade.com>
Mon, 27 May 2024 19:11:28 +0000 (20:11 +0100)
src/GEOMImpl/GEOMImpl_WrappingDriver.cxx

index 3d3037fee14661af7ebb7be0d77b7bf5e532d13f..e89a3e62c38709536b0ddea6b4b7524ff352120c 100644 (file)
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
+// These GeomPlate_* headers must be included before Salome ones
+// because of conflicting OK variable/constant between
+// OCCT Plate_Plate.hxx and GEOM GEOM_IOperations.hxx
+#include <GeomPlate_Surface.hxx>
+#include <GeomPlate_BuildPlateSurface.hxx>
+#include <GeomPlate_PointConstraint.hxx>
+#include <GeomPlate_MakeApprox.hxx>
+#include <GeomPlate_BuildAveragePlane.hxx>
+
 #include <GEOMImpl_WrappingDriver.hxx>
 
 #include <GEOMAlgo_Splitter.hxx>
 #include <Geom_Surface.hxx>
 #include <Geom_Plane.hxx>
 #include <Geom_BSplineSurface.hxx>
-#include <GeomPlate_Surface.hxx>
-#include <GeomPlate_BuildPlateSurface.hxx>
-#include <GeomPlate_PointConstraint.hxx>
-#include <GeomPlate_MakeApprox.hxx>
-#include <GeomPlate_BuildAveragePlane.hxx>
 
 #include <gp_Pnt.hxx>
 #include <gp_Sphere.hxx>
@@ -449,4 +453,4 @@ bool GEOMImpl_WrappingDriver::
   return true;
 }
 
-IMPLEMENT_STANDARD_RTTIEXT(GEOMImpl_WrappingDriver, GEOM_BaseDriver)
\ No newline at end of file
+IMPLEMENT_STANDARD_RTTIEXT(GEOMImpl_WrappingDriver, GEOM_BaseDriver)