Description | g++ 8.1.0 generates the following warnings -Wcatch-value.
\occt\src\Resource\Resource_Manager.cxx: In member function 'Standard_Boolean Resource_Manager::Save()
const':
\occt\src\Resource\Resource_Manager.cxx:265:14: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\Resource\Resource_Manager.cxx:294:12: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\Storage\Storage_HeaderData.cxx: In member function 'Standard_Boolean Storage_HeaderData::Read(Storage_BaseDriver&)':
\occt\src\Storage\Storage_HeaderData.cxx:63:12: warning: catching polymorphic type 'class Storage_StreamTypeMismatchError'
by value [-Wcatch-value=]
catch (Storage_StreamTypeMismatchError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\Storage\Storage_HeaderData.cxx:69:12: warning: catching polymorphic type 'class Storage_StreamExtCharParityError'
by value [-Wcatch-value=]
catch (Storage_StreamExtCharParityError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\Storage\Storage_HeaderData.cxx:98:12: warning: catching polymorphic type 'class Storage_StreamTypeMismatchError'
by value [-Wcatch-value=]
catch (Storage_StreamTypeMismatchError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\Storage\Storage_HeaderData.cxx:104:12: warning: catching polymorphic type 'class Storage_StreamExtCharParityError'
by value [-Wcatch-value=]
catch (Storage_StreamExtCharParityError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\Storage\Storage_RootData.cxx: In member function 'Standard_Boolean Storage_RootData::Read(Storage_BaseDriver&)':
\occt\src\Storage\Storage_RootData.cxx:62:12: warning: catching polymorphic type 'class Storage_StreamTypeMismatchError'
by value [-Wcatch-value=]
catch (Storage_StreamTypeMismatchError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\Storage\Storage_Schema.cxx: In member function 'void Storage_Schema::Write(Storage_BaseDriver&,
const opencascade::handle<Storage_Data>&) const':
\occt\src\Storage\Storage_Schema.cxx:487:11: warning: catching polymorphic type 'class Storage_StreamWriteError'
by value [-Wcatch-value=]
catch(Storage_StreamWriteError) {
^~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\Storage\Storage_TypeData.cxx: In member function 'Standard_Boolean Storage_TypeData::Read(Storage_BaseDriver&)':
\occt\src\Storage\Storage_TypeData.cxx:59:12: warning: catching polymorphic type 'class Storage_StreamTypeMismatchError'
by value [-Wcatch-value=]
catch (Storage_StreamTypeMismatchError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\math\math_ComputeGaussPointsAndWeights.cxx: In constructor 'math_ComputeGaussPointsAndWeights::math_ComputeGaussPointsAndWeights(Standard_Integer)':
\occt\src\math\math_ComputeGaussPointsAndWeights.cxx:72:12: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
} catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\math\math_ComputeKronrodPointsAndWeights.cxx: In constructor 'math_ComputeKronrodPointsAndWeights::math_ComputeKronrodPointsAndWeights(Standard_Integer)':
\occt\src\math\math_ComputeKronrodPointsAndWeights.cxx:165:12: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
} catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\ExprIntrp\ExprIntrp.cxx: In static member function 'static Standard_Boolean ExprIntrp::Parse(const
opencascade::handle<ExprIntrp_Generator>&, const TCollection_AsciiString&)':
\occt\src\ExprIntrp\ExprIntrp.cxx:46:12: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {}
^~~~~~~~~~~~~~~~
\occt\src\GeomLib\GeomLib_CheckCurveOnSurface.cxx: In member function 'Standard_Boolean GeomLib_CheckCurveOnSurface_TargetFunc::Value(Standard_Real,
Standard_Real&) const':
\occt\src\GeomLib\GeomLib_CheckCurveOnSurface.cxx:103:11: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch(Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\GeomLib\GeomLib_CheckCurveOnSurface.cxx: In member function 'Standard_Boolean GeomLib_CheckCurveOnSurface_TargetFunc::Derive(Standard_Real,
Standard_Real&, Standard_Real*) const':
\occt\src\GeomLib\GeomLib_CheckCurveOnSurface.cxx:160:11: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch(Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\GeomLib\GeomLib_CheckCurveOnSurface.cxx: In member function 'void GeomLib_CheckCurveOnSurface::Perform(const
opencascade::handle<Geom2d_Curve>&, Standard_Boolean)':
\occt\src\GeomLib\GeomLib_CheckCurveOnSurface.cxx:458:10: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\GeomLib\GeomLib_CheckCurveOnSurface.cxx: In function 'Standard_Integer FillSubIntervals(const
opencascade::handle<Geom_Curve>&, const opencascade::handle<Geom2d_Curve>&, Standard_Real,
Standard_Real, Standard_Integer&, TColStd_Array1OfReal*)':
\occt\src\GeomLib\GeomLib_CheckCurveOnSurface.cxx:679:9: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch(Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\GeomLib\GeomLib_CheckCurveOnSurface.cxx: In function 'Standard_Boolean MinComputing(GeomLib_CheckCurveOnSurface_TargetFunc&,
Standard_Real, Standard_Integer, Standard_Real&, Standard_Real&)':
\occt\src\GeomLib\GeomLib_CheckCurveOnSurface.cxx:804:9: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch(Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\IntPatch\IntPatch_SpecialPoints.cxx: In member function 'virtual Standard_Boolean FuncPreciseSeam::Value(const
math_Vector&, math_Vector&)':
\occt\src\IntPatch\IntPatch_SpecialPoints.cxx:71:11: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch(Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\IntPatch\IntPatch_SpecialPoints.cxx: In member function 'virtual Standard_Boolean FuncPreciseSeam::Derivatives(const
math_Vector&, math_Matrix&)':
\occt\src\IntPatch\IntPatch_SpecialPoints.cxx:109:11: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch(Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\GeomAPI\GeomAPI_PointsToBSpline.cxx: In member function 'void GeomAPI_PointsToBSpline::Init(const
TColgp_Array1OfPnt&, Standard_Real, Standard_Real, Standard_Real, Standard_Integer, GeomAbs_Shape,
Standard_Real)':
\occt\src\GeomAPI\GeomAPI_PointsToBSpline.cxx:318:10: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\GeomAPI\GeomAPI_PointsToBSplineSurface.cxx: In member function 'void GeomAPI_PointsToBSplineSurface::Init(const
TColgp_Array2OfPnt&, Standard_Real, Standard_Real, Standard_Real, Standard_Integer, GeomAbs_Shape,
Standard_Real)':
\occt\src\GeomAPI\GeomAPI_PointsToBSplineSurface.cxx:356:10: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\GeomAPI\GeomAPI_PointsToBSplineSurface.cxx:416:10: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
In file included from C:/Build/Libraries/opencascade-master-mingw/inc/AppBlend_AppSurf.gxx:1,
from \occt\src\GeomFill\GeomFill_AppSurf_0.cxx:33:
\occt\src\AppBlend/AppBlend_AppSurf.gxx: In member function 'void GeomFill_AppSurf::InternalPerform(const
opencascade::handle<GeomFill_Line>&, GeomFill_SectionGenerator&, Standard_Boolean, Standard_Boolean)':
\occt\src\AppBlend/AppBlend_AppSurf.gxx:490:14: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
In file included from C:/Build/Libraries/opencascade-master-mingw/inc/AppBlend_AppSurf.gxx:1,
from \occt\src\GeomFill\GeomFill_AppSweep_0.cxx:33:
\occt\src\AppBlend/AppBlend_AppSurf.gxx: In member function 'void GeomFill_AppSweep::InternalPerform(const
opencascade::handle<GeomFill_Line>&, GeomFill_SweepSectionGenerator&, Standard_Boolean,
Standard_Boolean)':
\occt\src\AppBlend/AppBlend_AppSurf.gxx:490:14: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\GeomFill\GeomFill_Sweep.cxx: In member function 'Standard_Boolean GeomFill_Sweep::BuildKPart()':
\occt\src\GeomFill\GeomFill_Sweep.cxx:611:12: warning: catching polymorphic type 'class Standard_ConstructionError'
by value [-Wcatch-value=]
catch (Standard_ConstructionError) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\Geom2dAPI\Geom2dAPI_PointsToBSpline.cxx: In member function 'void Geom2dAPI_PointsToBSpline::Init(const
TColgp_Array1OfPnt2d&, Standard_Real, Standard_Real, Standard_Real, Standard_Integer, GeomAbs_Shape,
Standard_Real)':
\occt\src\Geom2dAPI\Geom2dAPI_PointsToBSpline.cxx:440:10: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\BRepLib\BRepLib.cxx: In static member function 'static void BRepLib::EncodeRegularity(TopoDS_Edge&,
const TopoDS_Face&, const TopoDS_Face&, Standard_Real)':
\occt\src\BRepLib\BRepLib.cxx:2300:11: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch(Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\BRepLib\BRepLib_FindSurface.cxx: In function 'Standard_Boolean Is2DClosed(const TopoDS_Shape&,
const opencascade::handle<Geom_Surface>&, const TopLoc_Location&)':
\occt\src\BRepLib\BRepLib_FindSurface.cxx:155:11: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch ( Standard_Failure ) {
^~~~~~~~~~~~~~~~
\occt\src\BRepBuilderAPI\BRepBuilderAPI_FastSewing.cxx: In member function 'void BRepBuilderAPI_FastSewing::Perform()':
\occt\src\BRepBuilderAPI\BRepBuilderAPI_FastSewing.cxx:329:9: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
catch(Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\BRepBuilderAPI\BRepBuilderAPI_Sewing.cxx: In member function 'virtual TopoDS_Edge BRepBuilderAPI_Sewing::SameParameterEdge(const
TopoDS_Edge&, const TopoDS_Edge&, const TopTools_ListOfShape&, const TopTools_ListOfShape&,
Standard_Boolean, Standard_Integer&, Standard_Boolean)':
\occt\src\BRepBuilderAPI\BRepBuilderAPI_Sewing.cxx:906:9: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch(Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\BRepBuilderAPI\BRepBuilderAPI_Sewing.cxx: In member function 'virtual void BRepBuilderAPI_Sewing::SameParameterShape()':
\occt\src\BRepBuilderAPI\BRepBuilderAPI_Sewing.cxx:4747:12: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\ShapeCustom\ShapeCustom.cxx: In static member function 'static TopoDS_Shape ShapeCustom::ApplyModifier(const
TopoDS_Shape&, const opencascade::handle<BRepTools_Modification>&, TopTools_DataMapOfShapeShape&,
BRepTools_Modifier&, const opencascade::handle<Message_ProgressIndicator>&, const opencascade::handle<ShapeBuild_ReShape>&)':
\occt\src\ShapeCustom\ShapeCustom.cxx:111:14: warning: catching polymorphic type 'class Standard_NoSuchObject'
by value [-Wcatch-value=]
catch (Standard_NoSuchObject)
^~~~~~~~~~~~~~~~~~~~~
\occt\src\ShapeCustom\ShapeCustom_Curve2d.cxx: In static member function 'static Standard_Boolean ShapeCustom_Curve2d::SimplifyBSpline2d(opencascade::handle<Geom2d_BSplineCurve>&,
Standard_Real)':
\occt\src\ShapeCustom\ShapeCustom_Curve2d.cxx:177:15: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch(Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\ShapeAnalysis\ShapeAnalysis_CheckSmallFace.cxx: In member function 'Standard_Boolean ShapeAnalysis_CheckSmallFace::CheckPinEdges(const
TopoDS_Edge&, const TopoDS_Edge&, Standard_Real, Standard_Real, Standard_Real) const':
\occt\src\ShapeAnalysis\ShapeAnalysis_CheckSmallFace.cxx:927:14: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\ShapeAnalysis\ShapeAnalysis_Curve.cxx: In function 'void AppendControlPoles(TColgp_SequenceOfPnt&,
const opencascade::handle<Geom_Curve>&)':
\occt\src\ShapeAnalysis\ShapeAnalysis_Curve.cxx:841:14: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\ShapeAnalysis\ShapeAnalysis_Curve.cxx:853:14: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\ShapeFix\ShapeFix_FaceConnect.cxx: In member function 'TopoDS_Shell ShapeFix_FaceConnect::Build(const
TopoDS_Shell&, Standard_Real, Standard_Real)':
\occt\src\ShapeFix\ShapeFix_FaceConnect.cxx:285:14: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch(Standard_Failure) { sewing_ok = Standard_False; }
^~~~~~~~~~~~~~~~
\occt\src\ShapeFix\ShapeFix_Wire.cxx: In function 'Standard_Boolean TryBendingPCurve(const TopoDS_Edge&,
const TopoDS_Face&, gp_Pnt2d, Standard_Boolean, opencascade::handle<Geom2d_Curve>&, Standard_Real&,
Standard_Real&, Standard_Real&)':
\occt\src\ShapeFix\ShapeFix_Wire.cxx:2916:11: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch ( Standard_Failure ) {
^~~~~~~~~~~~~~~~
\occt\src\ShapeFix\ShapeFix_Wire_1.cxx: In member function 'Standard_Boolean ShapeFix_Wire::FixGap3d(Standard_Integer,
Standard_Boolean)':
\occt\src\ShapeFix\ShapeFix_Wire_1.cxx:601:12: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch ( Standard_Failure )
^~~~~~~~~~~~~~~~
\occt\src\ShapeUpgrade\ShapeUpgrade_SplitCurve2dContinuity.cxx: In member function 'virtual void ShapeUpgrade_SplitCurve2dContinuity::Compute()':
\occt\src\ShapeUpgrade\ShapeUpgrade_SplitCurve2dContinuity.cxx:164:11: warning: catching polymorphic
type 'class Standard_Failure' by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\ShapeUpgrade\ShapeUpgrade_UnifySameDomain.cxx: In function 'Standard_Boolean IsSameDomain(const
TopoDS_Face&, const TopoDS_Face&, Standard_Real, Standard_Real)':
\occt\src\ShapeUpgrade\ShapeUpgrade_UnifySameDomain.cxx:320:12: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\BOPAlgo\BOPAlgo_ArgumentAnalyzer.cxx: In member function 'virtual void BOPAlgo_ArgumentAnalyzer::Perform()':
\occt\src\BOPAlgo\BOPAlgo_ArgumentAnalyzer.cxx:235:9: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch(Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\BOPAlgo\BOPAlgo_Builder.cxx: In member function 'virtual void BOPAlgo_Builder::PerformInternal(const
BOPAlgo_PaveFiller&)':
\occt\src\BOPAlgo\BOPAlgo_Builder.cxx:236:10: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\BOPAlgo\BOPAlgo_CheckerSI.cxx: In member function 'virtual void BOPAlgo_CheckerSI::Perform()':
\occt\src\BOPAlgo\BOPAlgo_CheckerSI.cxx:209:10: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\BOPAlgo\BOPAlgo_PaveFiller.cxx: In member function 'virtual void BOPAlgo_PaveFiller::Perform()':
\occt\src\BOPAlgo\BOPAlgo_PaveFiller.cxx:226:10: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\BOPAlgo\BOPAlgo_PaveFiller_2.cxx: In member function 'virtual void BOPAlgo_VertexEdge::Perform()':
\occt\src\BOPAlgo\BOPAlgo_PaveFiller_2.cxx:121:12: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\BOPAlgo\BOPAlgo_PaveFiller_3.cxx: In member function 'virtual void BOPAlgo_EdgeEdge::Perform()':
\occt\src\BOPAlgo\BOPAlgo_PaveFiller_3.cxx:105:12: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\BOPAlgo\BOPAlgo_PaveFiller_4.cxx: In member function 'virtual void BOPAlgo_VertexFace::Perform()':
\occt\src\BOPAlgo\BOPAlgo_PaveFiller_4.cxx:117:12: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\BOPAlgo\BOPAlgo_PaveFiller_5.cxx: In member function 'virtual void BOPAlgo_EdgeFace::Perform()':
\occt\src\BOPAlgo\BOPAlgo_PaveFiller_5.cxx:116:12: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\BOPAlgo\BOPAlgo_PaveFiller_6.cxx: In member function 'virtual void BOPAlgo_FaceFace::Perform()':
\occt\src\BOPAlgo\BOPAlgo_PaveFiller_6.cxx:153:12: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\BOPAlgo\BOPAlgo_PaveFiller_7.cxx: In member function 'virtual void BOPAlgo_MPC::Perform()':
\occt\src\BOPAlgo\BOPAlgo_PaveFiller_7.cxx:304:12: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\BOPAlgo\BOPAlgo_RemoveFeatures.cxx: In member function 'virtual void BOPAlgo_RemoveFeatures::Perform()':
\occt\src\BOPAlgo\BOPAlgo_RemoveFeatures.cxx:158:10: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\BOPAlgo\BOPAlgo_RemoveFeatures.cxx: In member function 'void FillGap::Perform()':
\occt\src\BOPAlgo\BOPAlgo_RemoveFeatures.cxx:357:12: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\BOPAlgo\BOPAlgo_Tools.cxx: In static member function 'static Standard_Boolean BOPAlgo_Tools::WiresToFaces(const
TopoDS_Shape&, TopoDS_Shape&, Standard_Real)':
\occt\src\BOPAlgo\BOPAlgo_Tools.cxx:717:12: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\BOPTools\BOPTools_AlgoTools2D_1.cxx: In static member function 'static Standard_Integer BOPTools_AlgoTools2D::AttachExistingPCurve(const
TopoDS_Edge&, const TopoDS_Edge&, const TopoDS_Face&, const opencascade::handle<IntTools_Context>&)':
\occt\src\BOPTools\BOPTools_AlgoTools2D_1.cxx:139:10: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
In file included from C:/Build/Libraries/opencascade-master-mingw/inc/AppBlend_AppSurf.gxx:1,
from \occt\src\BRepBlend\BRepBlend_AppSurf_0.cxx:33:
\occt\src\AppBlend/AppBlend_AppSurf.gxx: In member function 'void BRepBlend_AppSurf::InternalPerform(const
opencascade::handle<BRepBlend_Line>&, Blend_AppFunction&, Standard_Boolean, Standard_Boolean)':
\occt\src\AppBlend/AppBlend_AppSurf.gxx:490:14: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\BRepOffsetAPI\BRepOffsetAPI_ThruSections.cxx: In member function 'virtual void BRepOffsetAPI_ThruSections::Build()':
\occt\src\BRepOffsetAPI\BRepOffsetAPI_ThruSections.cxx:492:10: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\BRepOffset\BRepOffset_MakeSimpleOffset.cxx: In function 'void ComputeMaxAngleOnShape(const
TopoDS_Shape&, Standard_Real&)':
\occt\src\BRepOffset\BRepOffset_MakeSimpleOffset.cxx:350:15: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
catch(Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\BRepOffset\BRepOffset_MakeSimpleOffset.cxx: In member function 'TopoDS_Face BRepOffset_MakeSimpleOffset::BuildWallFace(const
TopoDS_Edge&)':
\occt\src\BRepOffset\BRepOffset_MakeSimpleOffset.cxx:565:9: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
catch(Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\LocOpe\LocOpe_SplitShape.cxx: In member function 'Standard_Boolean LocOpe_SplitShape::Add(const
TopoDS_Wire&, const TopoDS_Face&)':
\occt\src\LocOpe\LocOpe_SplitShape.cxx:590:12: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
} catch (Standard_Failure ) {
^~~~~~~~~~~~~~~~
In file included from C:/Build/Libraries/opencascade-master-mingw/inc/BRepMesh_NodeInsertionMeshAlgo.hxx:1,
from \occt\src\BRepMesh/BRepMesh_DelaunayNodeInsertionMeshAlgo.hxx:19,
from C:/Build/Libraries/opencascade-master-mingw/inc/BRepMesh_DelaunayNodeInsertionMeshAlgo.hxx:1,
from \occt\src\BRepMesh\BRepMesh_MeshAlgoFactory.cxx:24:
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx: In instantiation of 'void BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::insertInternalVertex(const TopoDS_Vertex&) [with RangeSplitter = BRepMesh_NURBSRangeSplitter;
BaseAlgo = BRepMesh_DelaunayBaseMeshAlgo]':
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:207:7: required from 'void BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::insertInternalVertices() [with RangeSplitter = BRepMesh_NURBSRangeSplitter; BaseAlgo =
BRepMesh_DelaunayBaseMeshAlgo]'
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:109:7: required from 'Standard_Boolean BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::initDataStructure() [with RangeSplitter = BRepMesh_NURBSRangeSplitter; BaseAlgo = BRepMesh_DelaunayBaseMeshAlgo;
Standard_Boolean = bool]'
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:63:28: required from here
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:226:5: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx: In instantiation of 'void BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::insertInternalVertex(const TopoDS_Vertex&) [with RangeSplitter = BRepMesh_BoundaryParamsRangeSplitter;
BaseAlgo = BRepMesh_DelaunayBaseMeshAlgo]':
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:207:7: required from 'void BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::insertInternalVertices() [with RangeSplitter = BRepMesh_BoundaryParamsRangeSplitter; BaseAlgo
= BRepMesh_DelaunayBaseMeshAlgo]'
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:109:7: required from 'Standard_Boolean BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::initDataStructure() [with RangeSplitter = BRepMesh_BoundaryParamsRangeSplitter; BaseAlgo
= BRepMesh_DelaunayBaseMeshAlgo; Standard_Boolean = bool]'
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:63:28: required from here
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:226:5: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx: In instantiation of 'void BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::insertInternalVertex(const TopoDS_Vertex&) [with RangeSplitter = BRepMesh_TorusRangeSplitter;
BaseAlgo = BRepMesh_DelaunayBaseMeshAlgo]':
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:207:7: required from 'void BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::insertInternalVertices() [with RangeSplitter = BRepMesh_TorusRangeSplitter; BaseAlgo =
BRepMesh_DelaunayBaseMeshAlgo]'
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:109:7: required from 'Standard_Boolean BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::initDataStructure() [with RangeSplitter = BRepMesh_TorusRangeSplitter; BaseAlgo = BRepMesh_DelaunayBaseMeshAlgo;
Standard_Boolean = bool]'
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:63:28: required from here
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:226:5: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx: In instantiation of 'void BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::insertInternalVertex(const TopoDS_Vertex&) [with RangeSplitter = BRepMesh_ConeRangeSplitter;
BaseAlgo = BRepMesh_DelaunayBaseMeshAlgo]':
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:207:7: required from 'void BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::insertInternalVertices() [with RangeSplitter = BRepMesh_ConeRangeSplitter; BaseAlgo = BRepMesh_DelaunayBaseMeshAlgo]'
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:109:7: required from 'Standard_Boolean BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::initDataStructure() [with RangeSplitter = BRepMesh_ConeRangeSplitter; BaseAlgo = BRepMesh_DelaunayBaseMeshAlgo;
Standard_Boolean = bool]'
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:63:28: required from here
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:226:5: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx: In instantiation of 'void BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::insertInternalVertex(const TopoDS_Vertex&) [with RangeSplitter = BRepMesh_CylinderRangeSplitter;
BaseAlgo = BRepMesh_DelaunayBaseMeshAlgo]':
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:207:7: required from 'void BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::insertInternalVertices() [with RangeSplitter = BRepMesh_CylinderRangeSplitter; BaseAlgo
= BRepMesh_DelaunayBaseMeshAlgo]'
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:109:7: required from 'Standard_Boolean BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::initDataStructure() [with RangeSplitter = BRepMesh_CylinderRangeSplitter; BaseAlgo = BRepMesh_DelaunayBaseMeshAlgo;
Standard_Boolean = bool]'
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:63:28: required from here
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:226:5: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx: In instantiation of 'void BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::insertInternalVertex(const TopoDS_Vertex&) [with RangeSplitter = BRepMesh_SphereRangeSplitter;
BaseAlgo = BRepMesh_DelaunayBaseMeshAlgo]':
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:207:7: required from 'void BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::insertInternalVertices() [with RangeSplitter = BRepMesh_SphereRangeSplitter; BaseAlgo =
BRepMesh_DelaunayBaseMeshAlgo]'
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:109:7: required from 'Standard_Boolean BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::initDataStructure() [with RangeSplitter = BRepMesh_SphereRangeSplitter; BaseAlgo = BRepMesh_DelaunayBaseMeshAlgo;
Standard_Boolean = bool]'
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:63:28: required from here
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:226:5: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx: In instantiation of 'void BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::insertInternalVertex(const TopoDS_Vertex&) [with RangeSplitter = BRepMesh_DefaultRangeSplitter;
BaseAlgo = BRepMesh_DelaunayBaseMeshAlgo]':
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:207:7: required from 'void BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::insertInternalVertices() [with RangeSplitter = BRepMesh_DefaultRangeSplitter; BaseAlgo
= BRepMesh_DelaunayBaseMeshAlgo]'
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:109:7: required from 'Standard_Boolean BRepMesh_NodeInsertionMeshAlgo<RangeSplitter,
BaseAlgo>::initDataStructure() [with RangeSplitter = BRepMesh_DefaultRangeSplitter; BaseAlgo = BRepMesh_DelaunayBaseMeshAlgo;
Standard_Boolean = bool]'
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:63:28: required from here
\occt\src\BRepMesh/BRepMesh_NodeInsertionMeshAlgo.hxx:226:5: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
\occt\src\V3d\V3d_Viewer.cxx: In member function 'Standard_Boolean V3d_Viewer::AddZLayer(Graphic3d_ZLayerId&)':
\occt\src\V3d\V3d_Viewer.cxx:288:10: warning: catching polymorphic type 'class Aspect_IdentDefinitionError'
by value [-Wcatch-value=]
catch (Aspect_IdentDefinitionError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdPrs\StdPrs_Isolines.cxx: In static member function 'static void StdPrs_Isolines::addOnSurface(const
opencascade::handle<BRepAdaptor_HSurface>&, const opencascade::handle<Prs3d_Drawer>&,
Standard_Real, const TColStd_SequenceOfReal&, const TColStd_SequenceOfReal&, Prs3d_NListOfSequenceOfPnt&,
Prs3d_NListOfSequenceOfPnt&)':
\occt\src\StdPrs\StdPrs_Isolines.cxx:563:10: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\AIS\AIS_Axis.cxx: In constructor 'AIS_Axis::AIS_Axis(const opencascade::handle<Geom_Axis2Placement>&,
AIS_TypeOfAxis)':
\occt\src\AIS\AIS_Axis.cxx:84:12: warning: catching polymorphic type 'class Standard_Failure' by value
[-Wcatch-value=]
} catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\AIS\AIS_TexturedShape.cxx: In member function 'virtual void AIS_TexturedShape::Compute(const
opencascade::handle<PrsMgr_PresentationManager>&, const opencascade::handle<Prs3d_Presentation>&,
Standard_Integer)':
\occt\src\AIS\AIS_TexturedShape.cxx:428:14: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\StdSelect\StdSelect_BRepSelectionTool.cxx: In static member function 'static void StdSelect_BRepSelectionTool::GetEdgeSensitive(const
TopoDS_Shape&, const opencascade::handle<SelectMgr_EntityOwner>&, const opencascade::handle<SelectMgr_Selection>&,
Standard_Real, Standard_Real, Standard_Integer, Standard_Real, opencascade::handle<Select3D_SensitiveEntity>&)':
\occt\src\StdSelect\StdSelect_BRepSelectionTool.cxx:450:12: warning: catching polymorphic type 'class
Standard_NullObject' by value [-Wcatch-value=]
} catch (Standard_NullObject) {
^~~~~~~~~~~~~~~~~~~
\occt\src\StdSelect\StdSelect_BRepSelectionTool.cxx: In static member function 'static Standard_Boolean
StdSelect_BRepSelectionTool::GetSensitiveForFace(const TopoDS_Face&, const opencascade::handle<SelectMgr_EntityOwner>&,
Select3D_EntitySequence&, Standard_Boolean, Standard_Integer, Standard_Real, Standard_Boolean)':
\occt\src\StdSelect\StdSelect_BRepSelectionTool.cxx:629:12: warning: catching polymorphic type 'class
Standard_NullObject' by value [-Wcatch-value=]
catch (Standard_NullObject)
^~~~~~~~~~~~~~~~~~~
\occt\src\PCDM\PCDM_ReadWriter.cxx: In static member function 'static TCollection_ExtendedString PCDM_ReadWriter::FileFormat(const
TCollection_ExtendedString&)':
\occt\src\PCDM\PCDM_ReadWriter.cxx:149:10: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {}
^~~~~~~~~~~~~~~~
\occt\src\PCDM\PCDM_ReadWriter_1.cxx: In member function 'virtual Standard_Integer PCDM_ReadWriter_1::ReadReferenceCounter(const
TCollection_ExtendedString&, const opencascade::handle<Message_Messenger>&) const':
\occt\src\PCDM\PCDM_ReadWriter_1.cxx:254:9: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\PCDM\PCDM_ReadWriter_1.cxx:265:10: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {}
^~~~~~~~~~~~~~~~
\occt\src\PCDM\PCDM_ReadWriter_1.cxx: In member function 'virtual Standard_Integer PCDM_ReadWriter_1::ReadDocumentVersion(const
TCollection_ExtendedString&, const opencascade::handle<Message_Messenger>&) const':
\occt\src\PCDM\PCDM_ReadWriter_1.cxx:403:9: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\PCDM\PCDM_ReadWriter_1.cxx:415:10: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {}
^~~~~~~~~~~~~~~~
\occt\src\CDF\CDF_Application.cxx: In member function 'PCDM_ReaderStatus CDF_Application::CanRetrieve(const
TCollection_ExtendedString&, const TCollection_ExtendedString&, const TCollection_ExtendedString&)':
\occt\src\CDF\CDF_Application.cxx:165:14: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\CDF\CDF_StoreList.cxx: In member function 'PCDM_StoreStatus CDF_StoreList::Store(opencascade::handle<CDM_MetaData>&,
TCollection_ExtendedString&)':
\occt\src\CDF\CDF_StoreList.cxx:124:36: warning: catching polymorphic type 'class CDF_MetaDataDriverError'
by value [-Wcatch-value=]
catch (CDF_MetaDataDriverError anException) {
^~~~~~~~~~~
\occt\src\TDocStd\TDocStd_Application.cxx: In constructor 'TDocStd_Application::TDocStd_Application()':
\occt\src\TDocStd\TDocStd_Application.cxx:57:10: warning: catching polymorphic type 'class Plugin_Failure'
by value [-Wcatch-value=]
catch (Plugin_Failure)
^~~~~~~~~~~~~~
\occt\src\TNaming\TNaming_Name.cxx: In member function 'Standard_Boolean TNaming_Name::Solve(const TDF_Label&,
const TDF_LabelMap&) const':
\occt\src\TNaming\TNaming_Name.cxx:2109:10: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
} catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\XmlLDrivers\XmlLDrivers_DocumentRetrievalDriver.cxx: In member function 'virtual void XmlLDrivers_DocumentRetrievalDriver::ReadFromDomDocument(const
XmlObjMgt_Element&, const opencascade::handle<CDM_Document>&, const opencascade::handle<CDM_Application>&)':
\occt\src\XmlLDrivers\XmlLDrivers_DocumentRetrievalDriver.cxx:296:14: warning: catching polymorphic type
'class Standard_Failure' by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\XmlLDrivers\XmlLDrivers_DocumentRetrievalDriver.cxx:312:14: warning: catching polymorphic type
'class Standard_Failure' by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\XmlMDataStd\XmlMDataStd_RealArrayDriver.cxx: In member function 'virtual void XmlMDataStd_RealArrayDriver::Paste(const
opencascade::handle<TDF_Attribute>&, XmlObjMgt_Persistent&, XmlObjMgt_SRelocationTable&)
const':
\occt\src\XmlMDataStd\XmlMDataStd_RealArrayDriver.cxx:187:12: warning: catching polymorphic type 'class
Standard_OutOfMemory' by value [-Wcatch-value=]
catch (Standard_OutOfMemory)
^~~~~~~~~~~~~~~~~~~~
\occt\src\StdLDrivers\StdLDrivers_DocumentRetrievalDriver.cxx: In member function 'opencascade::handle<StdObjMgt_Persistent>
StdLDrivers_DocumentRetrievalDriver::read(const TCollection_ExtendedString&, Storage_HeaderData&)':
\occt\src\StdLDrivers\StdLDrivers_DocumentRetrievalDriver.cxx:187:12: warning: catching polymorphic type
'class Storage_StreamTypeMismatchError' by value [-Wcatch-value=]
catch (Storage_StreamTypeMismatchError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdLDrivers\StdLDrivers_DocumentRetrievalDriver.cxx:211:12: warning: catching polymorphic type
'class Storage_StreamTypeMismatchError' by value [-Wcatch-value=]
catch (Storage_StreamTypeMismatchError) { anError = Storage_VSTypeMismatch; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdLDrivers\StdLDrivers_DocumentRetrievalDriver.cxx:212:12: warning: catching polymorphic type
'class Storage_StreamFormatError' by value [-Wcatch-value=]
catch (Storage_StreamFormatError ) { anError = Storage_VSFormatError; }
^~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdLDrivers\StdLDrivers_DocumentRetrievalDriver.cxx:213:12: warning: catching polymorphic type
'class Storage_StreamReadError' by value [-Wcatch-value=]
catch (Storage_StreamReadError ) { anError = Storage_VSFormatError; }
^~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdStorage\StdStorage.cxx: In static member function 'static Storage_Error StdStorage::Read(const
TCollection_AsciiString&, opencascade::handle<StdStorage_Data>&)':
\occt\src\StdStorage\StdStorage.cxx:69:10: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\StdStorage\StdStorage.cxx: In static member function 'static Storage_Error StdStorage::Read(Storage_BaseDriver&,
opencascade::handle<StdStorage_Data>&)':
\occt\src\StdStorage\StdStorage.cxx:137:12: warning: catching polymorphic type 'class Storage_StreamTypeMismatchError'
by value [-Wcatch-value=]
catch (Storage_StreamTypeMismatchError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdStorage\StdStorage.cxx:165:12: warning: catching polymorphic type 'class Storage_StreamTypeMismatchError'
by value [-Wcatch-value=]
catch (Storage_StreamTypeMismatchError) { anError = Storage_VSTypeMismatch; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdStorage\StdStorage.cxx:166:12: warning: catching polymorphic type 'class Storage_StreamFormatError'
by value [-Wcatch-value=]
catch (Storage_StreamFormatError) { anError = Storage_VSFormatError; }
^~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdStorage\StdStorage.cxx:167:12: warning: catching polymorphic type 'class Storage_StreamReadError'
by value [-Wcatch-value=]
catch (Storage_StreamReadError) { anError = Storage_VSFormatError; }
^~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdStorage\StdStorage.cxx: In static member function 'static Storage_Error StdStorage::Write(Storage_BaseDriver&,
const opencascade::handle<StdStorage_Data>&)':
\occt\src\StdStorage\StdStorage.cxx:314:10: warning: catching polymorphic type 'class Storage_StreamWriteError'
by value [-Wcatch-value=]
catch (Storage_StreamWriteError) {
^~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdStorage\StdStorage_HeaderData.cxx: In member function 'Standard_Boolean StdStorage_HeaderData::Read(Storage_BaseDriver&)':
\occt\src\StdStorage\StdStorage_HeaderData.cxx:61:10: warning: catching polymorphic type 'class Storage_StreamTypeMismatchError'
by value [-Wcatch-value=]
catch (Storage_StreamTypeMismatchError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdStorage\StdStorage_HeaderData.cxx:67:10: warning: catching polymorphic type 'class Storage_StreamExtCharParityError'
by value [-Wcatch-value=]
catch (Storage_StreamExtCharParityError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdStorage\StdStorage_HeaderData.cxx:94:10: warning: catching polymorphic type 'class Storage_StreamTypeMismatchError'
by value [-Wcatch-value=]
catch (Storage_StreamTypeMismatchError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdStorage\StdStorage_HeaderData.cxx:100:10: warning: catching polymorphic type 'class Storage_StreamExtCharParityError'
by value [-Wcatch-value=]
catch (Storage_StreamExtCharParityError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdStorage\StdStorage_HeaderData.cxx: In member function 'Standard_Boolean StdStorage_HeaderData::Write(Storage_BaseDriver&)':
\occt\src\StdStorage\StdStorage_HeaderData.cxx:149:10: warning: catching polymorphic type 'class Storage_StreamTypeMismatchError'
by value [-Wcatch-value=]
catch (Storage_StreamTypeMismatchError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdStorage\StdStorage_HeaderData.cxx:155:10: warning: catching polymorphic type 'class Storage_StreamExtCharParityError'
by value [-Wcatch-value=]
catch (Storage_StreamExtCharParityError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdStorage\StdStorage_HeaderData.cxx:182:10: warning: catching polymorphic type 'class Storage_StreamTypeMismatchError'
by value [-Wcatch-value=]
catch (Storage_StreamTypeMismatchError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdStorage\StdStorage_HeaderData.cxx:188:10: warning: catching polymorphic type 'class Storage_StreamExtCharParityError'
by value [-Wcatch-value=]
catch (Storage_StreamExtCharParityError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdStorage\StdStorage_RootData.cxx: In member function 'Standard_Boolean StdStorage_RootData::Read(Storage_BaseDriver&)':
\occt\src\StdStorage\StdStorage_RootData.cxx:61:12: warning: catching polymorphic type 'class Storage_StreamTypeMismatchError'
by value [-Wcatch-value=]
catch (Storage_StreamTypeMismatchError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdStorage\StdStorage_RootData.cxx: In member function 'Standard_Boolean StdStorage_RootData::Write(Storage_BaseDriver&)':
\occt\src\StdStorage\StdStorage_RootData.cxx:110:12: warning: catching polymorphic type 'class Storage_StreamTypeMismatchError'
by value [-Wcatch-value=]
catch (Storage_StreamTypeMismatchError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdStorage\StdStorage_TypeData.cxx: In member function 'Standard_Boolean StdStorage_TypeData::Read(Storage_BaseDriver&)':
\occt\src\StdStorage\StdStorage_TypeData.cxx:61:12: warning: catching polymorphic type 'class Storage_StreamTypeMismatchError'
by value [-Wcatch-value=]
catch (Storage_StreamTypeMismatchError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\StdStorage\StdStorage_TypeData.cxx: In member function 'Standard_Boolean StdStorage_TypeData::Write(Storage_BaseDriver&)':
\occt\src\StdStorage\StdStorage_TypeData.cxx:109:12: warning: catching polymorphic type 'class Storage_StreamTypeMismatchError'
by value [-Wcatch-value=]
catch (Storage_StreamTypeMismatchError)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\TObj\TObj_Model.cxx: In member function 'virtual Standard_Boolean TObj_Model::Load(const TCollection_ExtendedString&)':
\occt\src\TObj\TObj_Model.cxx:161:16: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\TPrsStd\TPrsStd_ConstraintTools.cxx: In static member function 'static void TPrsStd_ConstraintTools::ComputeRound(const
opencascade::handle<TDataXtd_Constraint>&, opencascade::handle<AIS_InteractiveObject>&)':
\occt\src\TPrsStd\TPrsStd_ConstraintTools.cxx:2182:10: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch(Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\Interface\Interface_FileReaderTool.cxx: In member function 'void Interface_FileReaderTool::LoadModel(const
opencascade::handle<Interface_InterfaceModel>&)':
\occt\src\Interface\Interface_FileReaderTool.cxx:335:12: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\Interface\Interface_FileReaderTool.cxx:484:12: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
In file included from C:/Build/Libraries/opencascade-master-mingw/inc/Transfer_TransferProcess.gxx:1,
from \occt\src\Transfer\Transfer_ProcessForFinder_0.cxx:53:
\occt\src\Transfer/Transfer_TransferProcess.gxx: In member function 'opencascade::handle<Transfer_Binder>
Transfer_ProcessForFinder::Transferring(const opencascade::handle<Transfer_Finder>&)':
\occt\src\Transfer/Transfer_TransferProcess.gxx:1065:12: warning: catching polymorphic type 'class Transfer_TransferDeadLoop'
by value [-Wcatch-value=]
catch (Transfer_TransferDeadLoop) {
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/Build/Libraries/opencascade-master-mingw/inc/Transfer_TransferProcess.gxx:1,
from \occt\src\Transfer\Transfer_ProcessForTransient_0.cxx:51:
\occt\src\Transfer/Transfer_TransferProcess.gxx: In member function 'opencascade::handle<Transfer_Binder>
Transfer_ProcessForTransient::Transferring(const opencascade::handle<Standard_Transient>&)':
\occt\src\Transfer/Transfer_TransferProcess.gxx:1065:12: warning: catching polymorphic type 'class Transfer_TransferDeadLoop'
by value [-Wcatch-value=]
catch (Transfer_TransferDeadLoop) {
^~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\IFSelect\IFSelect_WorkSession.cxx: In member function 'void IFSelect_WorkSession::DumpModel(Standard_Integer,
const opencascade::handle<Message_Messenger>&)':
\occt\src\IFSelect\IFSelect_WorkSession.cxx:3328:14: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\StepToTopoDS\StepToTopoDS_TranslateEdge.cxx: In member function 'opencascade::handle<Geom2d_Curve>
StepToTopoDS_TranslateEdge::MakePCurve(const opencascade::handle<StepGeom_Pcurve>&, const opencascade::handle<Geom_Surface>&)
const':
\occt\src\StepToTopoDS\StepToTopoDS_TranslateEdge.cxx:497:9: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
catch(Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\TopoDSToStep\TopoDSToStep_WireframeBuilder.cxx: In member function 'Standard_Boolean TopoDSToStep_WireframeBuilder::GetTrimmedCurveFromEdge(const
TopoDS_Edge&, const TopoDS_Face&, MoniTool_DataMapOfShapeTransient&, opencascade::handle<TColStd_HSequenceOfTransient>&)
const':
\occt\src\TopoDSToStep\TopoDSToStep_WireframeBuilder.cxx:184:10: warning: catching polymorphic type 'class
Standard_NullObject' by value [-Wcatch-value=]
catch (Standard_NullObject) {
^~~~~~~~~~~~~~~~~~~
\occt\src\STEPControl\STEPControl_ActorRead.cxx: In member function 'opencascade::handle<TransferBRep_ShapeBinder>
STEPControl_ActorRead::TransferEntity(const opencascade::handle<StepGeom_GeometricRepresentationItem>&,
const opencascade::handle<Transfer_TransientProcess>&, Standard_Boolean)':
\occt\src\STEPControl\STEPControl_ActorRead.cxx:1237:9: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch(Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\STEPControl\STEPControl_ActorRead.cxx: In member function 'opencascade::handle<TransferBRep_ShapeBinder>
STEPControl_ActorRead::TransferEntity(const opencascade::handle<StepShape_FaceSurface>&, const
opencascade::handle<Transfer_TransientProcess>&)':
\occt\src\STEPControl\STEPControl_ActorRead.cxx:1398:9: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch(Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\IGESFile\IGESFile_Read.cxx: In function 'Standard_Integer IGESFile_Read(char*, const opencascade::handle<IGESData_IGESModel>&,
const opencascade::handle<IGESData_Protocol>&, const opencascade::handle<IGESData_FileRecognizer>&,
Standard_Boolean)':
\occt\src\IGESFile\IGESFile_Read.cxx:129:12: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\IGESFile\IGESFile_Read.cxx:143:12: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\IGESSelect\IGESSelect_WorkLibrary.cxx: In member function 'virtual void IGESSelect_WorkLibrary::DumpEntity(const
opencascade::handle<Interface_InterfaceModel>&, const opencascade::handle<Interface_Protocol>&,
const opencascade::handle<Standard_Transient>&, const opencascade::handle<Message_Messenger>&,
Standard_Integer) const':
\occt\src\IGESSelect\IGESSelect_WorkLibrary.cxx:194:10: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\IGESToBRep\IGESToBRep_Actor.cxx: In function 'Standard_Boolean EncodeRegul(const TopoDS_Shape&)':
\occt\src\IGESToBRep\IGESToBRep_Actor.cxx:117:9: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch(Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\IGESToBRep\IGESToBRep_Actor.cxx: In member function 'virtual opencascade::handle<Transfer_Binder>
IGESToBRep_Actor::Transfer(const opencascade::handle<Standard_Transient>&, const opencascade::handle<Transfer_TransientProcess>&)':
\occt\src\IGESToBRep\IGESToBRep_Actor.cxx:194:13: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch(Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\IGESToBRep\IGESToBRep_BasicCurve.cxx: In member function 'opencascade::handle<Geom_Curve>
IGESToBRep_BasicCurve::TransferBSplineCurve(const opencascade::handle<IGESGeom_BSplineCurve>&)':
\occt\src\IGESToBRep\IGESToBRep_BasicCurve.cxx:1124:12: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\IGESToBRep\IGESToBRep_CurveAndSurface.cxx: In member function 'TopoDS_Shape IGESToBRep_CurveAndSurface::TransferGeometry(const
opencascade::handle<IGESData_IGESEntity>&)':
\occt\src\IGESToBRep\IGESToBRep_CurveAndSurface.cxx:296:11: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
catch(Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\IGESToBRep\IGESToBRep_CurveAndSurface.cxx:328:8: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
catch(Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\IGESToBRep\IGESToBRep_CurveAndSurface.cxx:371:8: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
catch(Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\IGESToBRep\IGESToBRep_CurveAndSurface.cxx:425:8: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
catch(Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\IGESToBRep\IGESToBRep_CurveAndSurface.cxx:488:8: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
catch(Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\IGESToBRep\IGESToBRep_Reader.cxx: In function 'Standard_Boolean EncodeRegul(const TopoDS_Shape&)':
\occt\src\IGESToBRep\IGESToBRep_Reader.cxx:299:9: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch(Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\IGESToBRep\IGESToBRep_Reader.cxx: In member function 'void IGESToBRep_Reader::TransferRoots(Standard_Boolean)':
\occt\src\IGESToBRep\IGESToBRep_Reader.cxx:434:13: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch(Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\IGESToBRep\IGESToBRep_Reader.cxx: In member function 'Standard_Boolean IGESToBRep_Reader::Transfer(Standard_Integer)':
\occt\src\IGESToBRep\IGESToBRep_Reader.cxx:543:11: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch(Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\VrmlData\VrmlData_Geometry.cxx: In member function 'virtual const opencascade::handle<TopoDS_TShape>&
VrmlData_Box::TShape()':
\occt\src\VrmlData\VrmlData_Geometry.cxx:82:14: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
} catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\VrmlData\VrmlData_Geometry.cxx: In member function 'virtual const opencascade::handle<TopoDS_TShape>&
VrmlData_Cone::TShape()':
\occt\src\VrmlData\VrmlData_Geometry.cxx:162:14: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
} catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\VrmlData\VrmlData_Geometry.cxx: In member function 'virtual const opencascade::handle<TopoDS_TShape>&
VrmlData_Cylinder::TShape()':
\occt\src\VrmlData\VrmlData_Geometry.cxx:292:14: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
} catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\VrmlData\VrmlData_Geometry.cxx: In member function 'virtual const opencascade::handle<TopoDS_TShape>&
VrmlData_Sphere::TShape()':
\occt\src\VrmlData\VrmlData_Geometry.cxx:416:14: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
} catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\Draw\Draw_BasicCommands.cxx: In function 'Standard_Integer dbreak(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\Draw\Draw_BasicCommands.cxx:326:10: warning: catching polymorphic type 'class OSD_Exception_CTRL_BREAK'
by value [-Wcatch-value=]
catch (OSD_Exception_CTRL_BREAK) {
^~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\Draw\Draw_Interpretor.cxx: In destructor 'Draw_Interpretor::~Draw_Interpretor()':
\occt\src\Draw\Draw_Interpretor.cxx:533:10: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\Draw\Draw_Window.cxx: In function 'DWORD tkLoop()':
\occt\src\Draw\Draw_Window.cxx:2322:12: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\GeometryTest\GeometryTest_CurveCommands.cxx: In function 'Standard_Integer uniformAbscissa(Draw_Interpretor&,
Standard_Integer, const char**)':
\occt\src\GeometryTest\GeometryTest_CurveCommands.cxx:1132:10: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
catch (Standard_Failure )
^~~~~~~~~~~~~~~~
\occt\src\GeometryTest\GeometryTest_CurveCommands.cxx: In function 'Standard_Integer EllipsUniformAbscissa(Draw_Interpretor&,
Standard_Integer, const char**)':
\occt\src\GeometryTest\GeometryTest_CurveCommands.cxx:1180:9: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
catch(Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\GeometryTest\GeometryTest_CurveCommands.cxx:1209:10: warning: catching polymorphic type 'class
Standard_Failure' by value [-Wcatch-value=]
catch (Standard_Failure )
^~~~~~~~~~~~~~~~
\occt\src\ViewerTest\ViewerTest_ObjectCommands.cxx: In function 'int VCircleBuilder(Draw_Interpretor&,
Standard_Integer, const char**)':
\occt\src\ViewerTest\ViewerTest_ObjectCommands.cxx:2112:16: warning: catching polymorphic type 'class
StdFail_NotDone' by value [-Wcatch-value=]
catch (StdFail_NotDone)
^~~~~~~~~~~~~~~
\occt\src\ViewerTest\ViewerTest_ObjectCommands.cxx:2159:14: warning: catching polymorphic type 'class
StdFail_NotDone' by value [-Wcatch-value=]
catch (StdFail_NotDone)
^~~~~~~~~~~~~~~
\occt\src\ViewerTest\ViewerTest_ObjectCommands.cxx:2225:14: warning: catching polymorphic type 'class
StdFail_NotDone' by value [-Wcatch-value=]
catch (StdFail_NotDone)
^~~~~~~~~~~~~~~
\occt\src\ViewerTest\ViewerTest_ObjectCommands.cxx:2270:14: warning: catching polymorphic type 'class
StdFail_NotDone' by value [-Wcatch-value=]
catch (StdFail_NotDone)
^~~~~~~~~~~~~~~
\occt\src\XSDRAWSTLVRML\XSDRAWSTLVRML.cxx: In function 'Standard_Integer meshcolors(Draw_Interpretor&,
Standard_Integer, const char**)':
\occt\src\XSDRAWSTLVRML\XSDRAWSTLVRML.cxx:871:23: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
} catch(Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\XSDRAWSTLVRML\XSDRAWSTLVRML.cxx:896:11: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch ( Standard_Failure )
^~~~~~~~~~~~~~~~
\occt\src\XSDRAWSTLVRML\XSDRAWSTLVRML.cxx: In function 'Standard_Integer mesh_edge_width(Draw_Interpretor&,
Standard_Integer, const char**)':
\occt\src\XSDRAWSTLVRML\XSDRAWSTLVRML.cxx:1215:11: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch ( Standard_Failure )
^~~~~~~~~~~~~~~~
\occt\src\DNaming\DNaming_Line3DDriver.cxx: In member function 'virtual Standard_Integer DNaming_Line3DDriver::Execute(opencascade::handle<TFunction_Logbook>&)
const':
\occt\src\DNaming\DNaming_Line3DDriver.cxx:185:12: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
} catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\DNaming\DNaming_ModelingCommands.cxx: In function 'Standard_Integer DNaming_AttachShape(Draw_Interpretor&,
Standard_Integer, const char**)':
\occt\src\DNaming\DNaming_ModelingCommands.cxx:700:18: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\DNaming\DNaming_ModelingCommands.cxx: In function 'Standard_Integer DNaming_XAttachShape(Draw_Interpretor&,
Standard_Integer, const char**)':
\occt\src\DNaming\DNaming_ModelingCommands.cxx:777:20: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\XDEDRAW\XDEDRAW_Props.cxx: In function 'double TetraVol(gp_Pnt, gp_Pnt, gp_Pnt, gp_Pnt)':
\occt\src\XDEDRAW\XDEDRAW_Props.cxx:82:11: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch(Standard_Failure) {return(0.);}
^~~~~~~~~~~~~~~~
\occt\src\XDEDRAW\XDEDRAW_Props.cxx: In function 'Standard_Integer CheckProps(Draw_Interpretor&,
Standard_Integer, const char**)':
\occt\src\XDEDRAW\XDEDRAW_Props.cxx:578:14: warning: catching polymorphic type 'class Standard_Failure'
by value [-Wcatch-value=]
catch (Standard_Failure) {
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_2.cxx: In function 'Standard_Integer OCC527(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_2.cxx:125:10: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch (Standard_Failure) {di << "OCC527 Exception \n" ;return 0;}
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_5.cxx: In function 'Standard_Integer OCC5696(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_5.cxx:109:10: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch (Standard_Failure) {di << "OCC5696 Exception \n" ;return 0;}
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_10.cxx: In function 'Standard_Integer isPeriodic(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_10.cxx:194:10: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch (Standard_Failure) {di << "isperiodic Exception \n" ;return 0;}
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_10.cxx: In function 'Standard_Integer OCC486(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_10.cxx:264:10: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch (Standard_Failure) {di << "OCC486 Exception \n" ;return 1;}
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_10.cxx: In function 'Standard_Integer OCC712(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_10.cxx:387:11: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch ( Standard_Failure ) //--------------------> STEP:2
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_10.cxx: In function 'Standard_Integer OCC822_1(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_10.cxx:488:11: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch ( Standard_Failure )
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_10.cxx: In function 'Standard_Integer OCC822_2(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_10.cxx:543:11: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch ( Standard_Failure )
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_10.cxx: In function 'Standard_Integer OCC823(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_10.cxx:598:10: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_10.cxx: In function 'Standard_Integer OCC824(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_10.cxx:648:10: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_10.cxx: In function 'Standard_Integer OCC825(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_10.cxx:735:10: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_10.cxx: In function 'Standard_Integer OCC826(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_10.cxx:806:10: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_10.cxx: In function 'Standard_Integer OCC827(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_10.cxx:885:10: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_10.cxx: In function 'int performBlend(TopoDS_Shape, Standard_Real, TopoDS_Shape&,
Draw_Interpretor&)':
\occt\src\QABugs\QABugs_10.cxx:924:11: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch ( Standard_Failure )
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_10.cxx: In function 'Standard_Integer OCC828(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_10.cxx:1029:11: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch ( Standard_Failure )
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_11.cxx: In function 'Standard_Integer OCC363(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_11.cxx:996:9: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch(Standard_Failure) { di << "FAULTY OCC363 : Exception during reading document.\n";return
0;}
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_11.cxx: In function 'Standard_Integer OCC377(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_11.cxx:1130:9: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch(Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_11.cxx: In function 'Standard_Integer OCC22(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_11.cxx:1186:10: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch (Standard_Failure) {di << "OCC22 Exception \n" ;return 0;}
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_11.cxx: In function 'Standard_Integer OCC24(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_11.cxx:1241:10: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch (Standard_Failure) {di << "OCC24 Exception \n" ;return 0;}
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_11.cxx: In function 'Standard_Integer OCC369(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_11.cxx:1270:10: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch (Standard_Failure) {di << "OCC369 Exception \n" ;return 0;}
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_11.cxx: In function 'Standard_Integer OCC6143(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_11.cxx:2237:11: warning: catching polymorphic type 'class Standard_DivideByZero'
by value [-Wcatch-value=]
catch(Standard_DivideByZero)
^~~~~~~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_11.cxx:2269:11: warning: catching polymorphic type 'class Standard_DivideByZero'
by value [-Wcatch-value=]
catch(Standard_DivideByZero) // Solaris, Windows w/o SSE2
^~~~~~~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_11.cxx:2273:11: warning: catching polymorphic type 'class Standard_NumericError'
by value [-Wcatch-value=]
catch(Standard_NumericError) // Linux, Windows with SSE2
^~~~~~~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_11.cxx:2299:11: warning: catching polymorphic type 'class Standard_Overflow'
by value [-Wcatch-value=]
catch(Standard_Overflow) {
^~~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_11.cxx:2326:11: warning: catching polymorphic type 'class Standard_Overflow'
by value [-Wcatch-value=]
catch(Standard_Overflow) // Solaris, Windows w/o SSE2
^~~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_11.cxx:2330:11: warning: catching polymorphic type 'class Standard_NumericError'
by value [-Wcatch-value=]
catch(Standard_NumericError) // Linux, Windows with SSE2
^~~~~~~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_11.cxx:2357:11: warning: catching polymorphic type 'class Standard_Underflow'
by value [-Wcatch-value=]
catch(Standard_Underflow) // could be on Solaris, Windows w/o SSE2
^~~~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_11.cxx:2362:11: warning: catching polymorphic type 'class Standard_NumericError'
by value [-Wcatch-value=]
catch(Standard_NumericError) // could be on Linux, Windows with SSE2
^~~~~~~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_11.cxx:2388:11: warning: catching polymorphic type 'class Standard_NumericError'
by value [-Wcatch-value=]
catch(Standard_NumericError) {
^~~~~~~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_11.cxx:2413:11: warning: catching polymorphic type 'class OSD_Exception_ACCESS_VIOLATION'
by value [-Wcatch-value=]
catch(OSD_Exception_ACCESS_VIOLATION)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_11.cxx: In function 'Standard_Integer OCC7141(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_11.cxx:2511:9: warning: catching polymorphic type 'class OSD_Exception_STACK_OVERFLOW'
by value [-Wcatch-value=]
catch(OSD_Exception_STACK_OVERFLOW) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_11.cxx: In function 'Standard_Integer OCC15489(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_11.cxx:3058:9: warning: catching polymorphic type 'class Standard_ConstructionError'
by value [-Wcatch-value=]
catch(Standard_ConstructionError)
^~~~~~~~~~~~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_13.cxx: In function 'Standard_Integer OCC332bug(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_13.cxx:368:10: warning: catching polymorphic type 'class Standard_TypeMismatch'
by value [-Wcatch-value=]
catch (Standard_TypeMismatch) {
^~~~~~~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_13.cxx: In function 'Standard_Integer OCC544(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_13.cxx:660:10: warning: catching polymorphic type 'class Standard_TypeMismatch'
by value [-Wcatch-value=]
catch (Standard_TypeMismatch) {
^~~~~~~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_16.cxx: In function 'Standard_Integer OCC132(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_16.cxx:427:12: warning: catching polymorphic type 'class Standard_ProgramError'
by value [-Wcatch-value=]
catch (Standard_ProgramError) {
^~~~~~~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_16.cxx:438:12: warning: catching polymorphic type 'class Standard_ProgramError'
by value [-Wcatch-value=]
catch (Standard_ProgramError) {
^~~~~~~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_17.cxx: In function 'Standard_Integer OCC570(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_17.cxx:626:11: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch(Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_17.cxx: In function 'Standard_Integer OCC606(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_17.cxx:791:11: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch(Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_19.cxx: In function 'Standard_Integer OCC24834(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_19.cxx:1940:10: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_19.cxx:1957:10: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_19.cxx: In function 'Standard_Integer OCC26313(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_19.cxx:4279:11: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch(Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_20.cxx: In function 'int AllocTest::test() [with int <anonymous> = 4]':
\occt\src\QABugs\QABugs_20.cxx:1324:14: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_20.cxx: In function 'Standard_Integer OCC27357(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_20.cxx:2034:11: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch(Standard_Failure)
^~~~~~~~~~~~~~~~
\occt\src\QABugs\QABugs_20.cxx: In function 'Standard_Integer OCC26270(Draw_Interpretor&, Standard_Integer,
const char**)':
\occt\src\QABugs\QABugs_20.cxx:2087:12: warning: catching polymorphic type 'class Standard_Failure' by
value [-Wcatch-value=]
catch (Standard_Failure)
^~~~~~~~~~~~~~~~
|