View Issue Details

IDProjectCategoryView StatusLast Update
0026988Open CASCADEOCCT:Codingpublic2016-04-20 15:50
ReporterabvAssigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Target Version7.0.0Fixed in Version7.0.0 
Summary0026988: Fresh compiler warnings (VC++ 14, GCC 5.2.1, CLang 3.6.2)
DescriptionCurrent master exhibits several new compiler warnings generated by VC++ 14, GCC 5.2.1, CLang 3.6.2
Steps To ReproduceBuild with VC++ 14, GCC 5.2, CLang 3.6.2
TagsNo tags attached.
Test case number

Attached Files

  • CR26988-1-warnings.xlsx (48,876 bytes)

Activities

git

2015-12-13 15:01

administrator   ~0049072

Branch CR26988 has been created by abv.

SHA-1: ceb04581ebd1f589ab3f4bd74b283922fafa3b54


Detailed log of new commits:

Author: abv
Date: Sun Dec 13 13:21:54 2015 +0300

    0026988: Fresh compiler warnings (VC++ 14, GCC 5.2.1, CLang 3.6.2)
    
    Compiler warnings eliminated:
    
    - VC++: potential use of uninitialized variable
    - GCC: potential use of uninitialized variable [-Wmaybe-uninitialized], redundant const on return value [-Wignored-qualifiers]
    - CLang: missing override specifier on overloaded virtual function [-Winconsistent-missing-override], function call within typeid() [-Wpotentially-evaluated-expression]

git

2015-12-13 17:41

administrator   ~0049073

Branch CR26988 has been updated forcibly by abv.

SHA-1: 505e2c9feee0c0ebd86efedabfc201e2ce3d492d

abv

2015-12-14 06:38

manager   ~0049075

Fix pushed to CR26988, please review

kgv

2015-12-14 09:48

developer   ~0049076

Please test the patch.

bugmaster

2015-12-14 11:57

administrator   ~0049080

CR26988-1 branch has been created. branch contains fixes for issue 26551, 26913 and 26988

git

2015-12-14 11:58

administrator   ~0049081

Branch CR26988-1 has been created by inv.

SHA-1: 505e2c9feee0c0ebd86efedabfc201e2ce3d492d


No new revisions were added by this update.

bugmaster

2015-12-15 17:57

administrator   ~0049176

Branch CR26988-1 from occt git-repository (and master from products git-repository) was compiled on all platforms under maintenance platforms and tested on Release mode on standard platforms.
SHA-1: 505e2c9feee0c0ebd86efedabfc201e2ce3d492d

Number of compiler warnings:

occt component :
http://jenkins-test-03.nnov.opencascade.com:8080/view/Warnings%20OCCT%20/
See attached CR26988-1-warnings.xlsx

On MacOS occurs fluctuation of warnings

products component :
http://jenkins-test-03.nnov.opencascade.com:8080/view/Warnings%20Products/
See attached CR26988-1-warnings.xlsx

Regressions/Differences/Improvements:
No regressions/differences

Testing cases:
Not needed

Testing on Linux:
occt component :
Total MEMORY difference: 88181650 / 93995709 [-6.19%]
Total CPU difference: 19548.44000000005 / 19277.08999999991 [+1.41%]

Testing on Windows:
occt component :
Total MEMORY difference: 54339045 / 56347813 [-3.56%]
Total CPU difference: 17495.184547898658 / 17820.399832598894 [-1.82%]

There are no differences in images found by testdiff.

Occurs decreasing library size

bugmaster

2015-12-15 17:58

administrator  

CR26988-1-warnings.xlsx (48,876 bytes)

git

2016-04-17 13:54

administrator   ~0052999

Branch CR26988 has been deleted by kgv.

SHA-1: 505e2c9feee0c0ebd86efedabfc201e2ce3d492d

git

2016-04-17 13:54

administrator   ~0053000

Branch CR26988-1 has been deleted by kgv.

SHA-1: 505e2c9feee0c0ebd86efedabfc201e2ce3d492d

Related Changesets

occt: master c7854818

2015-12-13 10:21:54

abv


Committer: bugmaster Details Diff
0026988: Fresh compiler warnings (VC++ 14, GCC 5.2.1, CLang 3.6.2)

Compiler warnings eliminated:

- VC++: potential use of uninitialized variable
- GCC: potential use of uninitialized variable [-Wmaybe-uninitialized], redundant const on return value [-Wignored-qualifiers]
- CLang: missing override specifier on overloaded virtual function [-Winconsistent-missing-override], function call within typeid() [-Wpotentially-evaluated-expression]
Affected Issues
0026988
mod - src/ApproxInt/ApproxInt_KnotTools.cxx Diff File
mod - src/BRepBuilderAPI/BRepBuilderAPI_Copy.cxx Diff File
mod - src/BRepOffset/BRepOffset_MakeOffset.cxx Diff File
mod - src/IntTools/IntTools_Context.cxx Diff File
mod - src/IVtkDraw/IVtkDraw_Interactor.cxx Diff File
mod - src/IVtkDraw/IVtkDraw_Interactor.hxx Diff File
mod - src/IVtkOCC/IVtkOCC_SelectableObject.hxx Diff File
mod - src/IVtkOCC/IVtkOCC_Shape.hxx Diff File
mod - src/IVtkOCC/IVtkOCC_ShapeMesher.hxx Diff File
mod - src/IVtkOCC/IVtkOCC_ShapePickerAlgo.hxx Diff File
mod - src/IVtkTools/IVtkTools_DisplayModeFilter.cxx Diff File
mod - src/IVtkTools/IVtkTools_DisplayModeFilter.hxx Diff File
mod - src/IVtkVTK/IVtkVTK_ShapeData.hxx Diff File
mod - src/IVtkVTK/IVtkVTK_View.hxx Diff File
mod - src/LDOM/LDOM_CharacterData.cxx Diff File
mod - src/OpenGl/OpenGl_ShaderManager.cxx Diff File
mod - src/STEPCAFControl/STEPCAFControl_Writer.cxx Diff File
mod - src/StepDimTol/StepDimTol_SimpleDatumReferenceModifierMember.hxx Diff File
mod - src/StepFile/StepFile_Read.cxx Diff File
mod - src/TFunction/TFunction_Logbook.hxx Diff File

Issue History

Date Modified Username Field Change
2015-12-13 13:16 abv New Issue
2015-12-13 13:16 abv Assigned To => kgv
2015-12-13 15:01 git Note Added: 0049072
2015-12-13 17:41 git Note Added: 0049073
2015-12-14 06:38 abv Note Added: 0049075
2015-12-14 06:38 abv Status new => resolved
2015-12-14 06:38 abv Steps to Reproduce Updated
2015-12-14 09:48 kgv Note Added: 0049076
2015-12-14 09:48 kgv Assigned To kgv => bugmaster
2015-12-14 09:48 kgv Status resolved => reviewed
2015-12-14 11:57 bugmaster Note Added: 0049080
2015-12-14 11:58 git Note Added: 0049081
2015-12-15 17:57 bugmaster Note Added: 0049176
2015-12-15 17:57 bugmaster Status reviewed => tested
2015-12-15 17:58 bugmaster File Added: CR26988-1-warnings.xlsx
2015-12-18 15:25 bugmaster Changeset attached => occt master c7854818
2015-12-18 15:25 bugmaster Status tested => verified
2015-12-18 15:25 bugmaster Resolution open => fixed
2016-04-17 13:54 git Note Added: 0052999
2016-04-17 13:54 git Note Added: 0053000
2016-04-20 15:42 aiv Fixed in Version => 7.0.0
2016-04-20 15:50 aiv Status verified => closed