0031004: Coding - eliminate warnings issued by gcc 9.1.0
authorkgv <kgv@opencascade.com>
Fri, 8 May 2020 20:41:22 +0000 (23:41 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 15 May 2020 15:08:07 +0000 (18:08 +0300)
commit158f2931a747cdf847b531856376ddaaa2b48880
tree4f0d2f0fd21cd60b75905c59c39d10ee154770a7
parent4b59685af18d44d7d87c6d2a6388ff7b6b860908
0031004: Coding - eliminate warnings issued by gcc 9.1.0

Fixed -Wrestrict warning within OSD::SetSignal().

Fixed -Wdeprecated-copy warning by adding missing counterpart
in pair copy constructor / assignment operator or by removing trivial constructor.

AdvApp2Var_Node, AdvApp2Var_Patch are now declared as Handle.
AdvApp2Var_Iso is now passed by Handle.

Disabled operator= for TDF_Transaction and TDF_IDFilter.

Standard.cxx - fixed GCC version mischeck causing building failure with experimental GCC versions.

TopOpeBRepDS_EXPORT.cxx - fixed -Wmaybe-uninitialized warnings.
55 files changed:
src/AdvApp2Var/AdvApp2Var_ApproxAFunc2Var.cxx
src/AdvApp2Var/AdvApp2Var_Framework.cxx
src/AdvApp2Var/AdvApp2Var_Framework.hxx
src/AdvApp2Var/AdvApp2Var_Framework.lxx [deleted file]
src/AdvApp2Var/AdvApp2Var_Iso.cxx
src/AdvApp2Var/AdvApp2Var_Iso.hxx
src/AdvApp2Var/AdvApp2Var_Network.cxx
src/AdvApp2Var/AdvApp2Var_Network.hxx
src/AdvApp2Var/AdvApp2Var_Network.lxx [deleted file]
src/AdvApp2Var/AdvApp2Var_Node.cxx
src/AdvApp2Var/AdvApp2Var_Node.hxx
src/AdvApp2Var/AdvApp2Var_Patch.cxx
src/AdvApp2Var/AdvApp2Var_Patch.hxx
src/AdvApp2Var/AdvApp2Var_SequenceOfNode.hxx
src/AdvApp2Var/AdvApp2Var_SequenceOfPatch.hxx
src/AdvApp2Var/AdvApp2Var_Strip.hxx
src/AdvApp2Var/FILES
src/BOPTools/BOPTools_Set.cxx
src/BOPTools/BOPTools_Set.hxx
src/BVH/BVH_Box.hxx
src/Geom2dHatch/Geom2dHatch_Element.cxx
src/Geom2dHatch/Geom2dHatch_Element.hxx
src/Graphic3d/Graphic3d_CubeMapOrder.hxx
src/Graphic3d/Graphic3d_Vertex.hxx
src/Graphic3d/Graphic3d_WorldViewProjState.hxx
src/HatchGen/HatchGen_PointOnElement.cxx
src/HatchGen/HatchGen_PointOnElement.hxx
src/HatchGen/HatchGen_PointOnHatching.cxx
src/HatchGen/HatchGen_PointOnHatching.hxx
src/IGESToBRep/IGESToBRep_CurveAndSurface.cxx
src/IGESToBRep/IGESToBRep_CurveAndSurface.hxx
src/IntPolyh/IntPolyh_Point.hxx
src/IntRes2d/IntRes2d_Intersection.hxx
src/Interface/Interface_Graph.cxx
src/Interface/Interface_Graph.hxx
src/Interface/Interface_STAT.hxx
src/Intf/Intf_SectionLine.hxx
src/Intf/Intf_TangentZone.cxx
src/Intf/Intf_TangentZone.hxx
src/Intrv/Intrv_Intervals.cxx
src/Intrv/Intrv_Intervals.hxx
src/NCollection/NCollection_Array1.hxx
src/OSD/OSD_signal.cxx
src/OpenGl/OpenGl_Context.cxx
src/Standard/Standard.cxx
src/StepData/StepData_Field.hxx
src/TDF/TDF_CopyLabel.cxx
src/TDF/TDF_IDFilter.cxx
src/TDF/TDF_IDFilter.hxx
src/TDF/TDF_Transaction.cxx
src/TDF/TDF_Transaction.hxx
src/TDocStd/TDocStd_Document.cxx
src/TopOpeBRepDS/TopOpeBRepDS_EXPORT.cxx
src/gp/gp_Quaternion.hxx
src/gp/gp_Quaternion.lxx