View Issue Details

IDProjectCategoryView StatusLast Update
0024171Open CASCADEOCCT:Codingpublic2013-12-19 13:57
ReporteromyAssigned Toabv 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
PlatformLinuxOSDebian 4.0 
Product Version6.6.0 
Target Version6.7.0Fixed in Version6.7.0 
Summary0024171: Eliminate CLang compiler warning -Wreorder
DescriptionIt is necessary to eliminate warning -Wreorder local function, shown by CLang compiler on Ubuntu 13.04
TagsNo tags attached.
Test case numberNot needed

Relationships

related to 0024162 closedabv Eliminate CLang compiler warning 

Activities

omy

2013-09-12 18:47

developer   ~0025557

Dear abv,
Please, review the branch CR24170

abv

2013-09-13 15:17

manager   ~0025566

Reviewed, please test. Note that the brunch contains also fixes for warning -Wdangling-else; I have made a few corrections (mostly indentation).

mkv

2013-09-18 08:56

tester   ~0025615

Dear BugMaster,

Branch CR24171 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
SHA-1: 707defa53e89ec3ffb9bc77eeafda8d49edd7cb5

Number of compiler warnings:

occt component :
Linux: 669 (790 on master)
Windows: 391 (392 on master)

products component :
Linux: 190 (191 on master)
Windows: 287 (287 on master)

Regressions:
No regressions

Improvements:
No improvements

Testing cases:
Not needed

Testing on Linux:
Total MEMORY difference: 366578204 / 366656444
Total CPU difference: 43771.65000000101 / 44239.22000000111

Testing on Windows:
Total MEMORY difference: 428535108 / 429145420
Total CPU difference: 38053.96875 / 38300.328125

There are not differences in images found by testdiff.

Related Changesets

occt: master eafb234b

2013-09-12 07:30:34

abv


Committer: abv Details Diff
0024171: Eliminate CLang compiler warning -Wreorder

Got rid of -Wreorder warning (wrong fields' initialization order); some warnings -Wdangling-else are also fixed
Affected Issues
0024171
mod - src/Adaptor3d/Adaptor3d_TopolTool.cxx Diff File
mod - src/AIS/AIS_InteractiveContext_1.cxx Diff File
mod - src/AIS/AIS_LocalContext.cxx Diff File
mod - src/AIS/AIS_Selection.cxx Diff File
mod - src/Aspect/Aspect_ColorScale.cxx Diff File
mod - src/BinTools/BinTools_ShapeSet.cxx Diff File
mod - src/BlendFunc/BlendFunc_CSCircular.cxx Diff File
mod - src/BOPDS/BOPDS_DS.cxx Diff File
mod - src/BOPTools/BOPTools_ConnexityBlock.hxx Diff File
mod - src/BRepExtrema/BRepExtrema_DistShapeShape.cxx Diff File
mod - src/BRepFill/BRepFill_PipeShell.cxx Diff File
mod - src/BRepFill/BRepFill_Sweep.cxx Diff File
mod - src/BRepMesh/BRepMesh_Triangle.hxx Diff File
mod - src/BRepTools/BRepTools_NurbsConvertModification.cxx Diff File
mod - src/ChFi3d/ChFi3d_Builder_6.cxx Diff File
mod - src/GeomPlate/GeomPlate_BuildPlateSurface.cxx Diff File
mod - src/Hermit/Hermit.cxx Diff File
mod - src/IGESControl/IGESControl_IGESBoundary.cxx Diff File
mod - src/IGESDefs/IGESDefs_ToolAttributeTable.cxx Diff File
mod - src/IGESToBRep/IGESToBRep_IGESBoundary.cxx Diff File
mod - src/IntPatch/IntPatch_RstInt.cxx Diff File
mod - src/IntPolyh/IntPolyh_MaillageAffinage.cxx Diff File
mod - src/IntSurf/IntSurf_Quadric.cdl Diff File
mod - src/MeshVS/MeshVS_Mesh.cxx Diff File
mod - src/MeshVS/MeshVS_MeshPrsBuilder.cxx Diff File
mod - src/NCollection/NCollection_BaseSequence.cxx Diff File
mod - src/NIS/NIS_InteractiveObject.cxx Diff File
mod - src/OpenGl/OpenGl_Context.cxx Diff File
mod - src/OpenGl/OpenGl_PrinterContext.cxx Diff File
mod - src/OpenGl/OpenGl_View.cxx Diff File
mod - src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx Diff File
mod - src/QANewBRepNaming/QANewBRepNaming_Gluing.cxx Diff File
mod - src/QANewModTopOpe/QANewModTopOpe_Glue.cxx Diff File
mod - src/QANewModTopOpe/QANewModTopOpe_Limitation.cxx Diff File
mod - src/Resource/Resource_Manager.cxx Diff File
mod - src/SelectMgr/SelectMgr_EntityOwner.cxx Diff File
mod - src/SelectMgr/SelectMgr_SelectableObject.cxx Diff File
mod - src/ShapeAnalysis/ShapeAnalysis_BoxBndTree.hxx Diff File
mod - src/ShapeAnalysis/ShapeAnalysis_CheckSmallFace.cxx Diff File
mod - src/ShapeAnalysis/ShapeAnalysis_TransferParametersProj.cxx Diff File
mod - src/ShapeCustom/ShapeCustom_ConvertToBSpline.cxx Diff File
mod - src/ShapeFix/ShapeFix_ComposeShell.cxx Diff File
mod - src/ShapeFix/ShapeFix_Face.cxx Diff File
mod - src/ShapeFix/ShapeFix_Wire.cxx Diff File
mod - src/ShapeProcess/ShapeProcess_ShapeContext.cxx Diff File
mod - src/ShapeProcessAPI/ShapeProcessAPI_ApplySequence.cxx Diff File
mod - src/STEPControl/STEPControl_ActorWrite.cxx Diff File
mod - src/SWDRAW/SWDRAW_ShapeFix.cxx Diff File
mod - src/SWDRAW/SWDRAW_ShapeUpgrade.cxx Diff File
mod - src/TNaming/TNaming_NamedShape.cxx Diff File
mod - src/TopClass/TopClass_Classifier2d.gxx Diff File
mod - src/TopTrans/TopTrans_SurfaceTransition.cxx Diff File
mod - src/V3d/V3d_View.cdl Diff File
mod - src/ViewerTest/ViewerTest.cxx Diff File
mod - src/ViewerTest/ViewerTest_EventManager.cxx Diff File
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx Diff File
mod - src/Voxel/Voxel_FastConverter.cxx Diff File
mod - src/VrmlData/VrmlData_Geometry.cxx Diff File
mod - src/VrmlData/VrmlData_IndexedFaceSet.cxx Diff File
mod - src/VrmlData/VrmlData_Node.cxx Diff File
mod - src/VrmlData/VrmlData_Scene.cxx Diff File
mod - src/XCAFDoc/XCAFDoc_ColorTool.cxx Diff File
mod - src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx Diff File

Issue History

Date Modified Username Field Change
2013-09-12 18:45 omy New Issue
2013-09-12 18:45 omy Assigned To => omy
2013-09-12 18:46 omy Summary 0024169: Eliminate CLang compiler warning -Wreorder => Eliminate CLang compiler warning -Wreorder
2013-09-12 18:47 omy Relationship added related to 0024162
2013-09-12 18:47 omy Note Added: 0025557
2013-09-12 18:47 omy Assigned To omy => abv
2013-09-12 18:47 omy Status new => resolved
2013-09-13 15:17 abv Note Added: 0025566
2013-09-13 15:17 abv Status resolved => reviewed
2013-09-13 15:17 abv Assigned To abv => bugmaster
2013-09-16 16:47 mkv Assigned To bugmaster => mkv
2013-09-18 08:56 mkv Note Added: 0025615
2013-09-18 08:56 mkv Test case number => Not needed
2013-09-18 08:56 mkv Assigned To mkv => bugmaster
2013-09-18 08:56 mkv Status reviewed => tested
2013-09-20 15:44 abv Changeset attached => occt master eafb234b
2013-09-20 15:44 abv Assigned To bugmaster => abv
2013-09-20 15:44 abv Status tested => verified
2013-09-20 15:44 abv Resolution open => fixed
2013-12-19 13:52 bugmaster Status verified => closed
2013-12-19 13:57 bugmaster Fixed in Version => 6.7.0
2014-01-11 11:58 abv Category OCCT Release:BUILD => OCCT:Coding