Archived issue #0024170
Eliminate CLang compiler warning -Wunused local functions
Description
It is necessary to eliminate warning -Wunused local function, shown by CLang compiler on Ubuntu 13.04
Public activity
7 archived notes
Participants are labeled by their role within this record.
Dear abv,
Please, review the branch CR24170
Please, review the branch CR24170
I have reverted change in Visual3d_View.cxx since the code is suspicious and requires additional analysis to be corrected. Apart of this, no remarks, please test
Dear Commenter 1,
Branch CR24170 was compiled on Linux platform.
There is compilation error:
http://jenkins-test-02.nnov.opencascade.com:8080/user/mnt/my-views/view/CR24170/job/mnt-CR24170-master_build_occt_linux/1/parsed_console/?
../../../../inc/IntStart_SearchOnBoundaries_2.gxx:72: error: ‘BoundedArc’ was not declared in this scope
Branch CR24170 was compiled on Linux platform.
There is compilation error:
http://jenkins-test-02.nnov.opencascade.com:8080/user/mnt/my-views/view/CR24170/job/mnt-CR24170-master_build_occt_linux/1/parsed_console/?
../../../../inc/IntStart_SearchOnBoundaries_2.gxx:72: error: ‘BoundedArc’ was not declared in this scope
I suggest gxx files IntStart_SearchOnBoundaries_1.gxx and IntStart_SearchOnBoundaries_2.gxx should be eliminated, with their code put to main IntStart_SearchOnBoundaries.gxx
Dear abv,
Please, review the changes in branch CR24170.
Please, review the changes in branch CR24170.
No remarks, please test
Dear Commenter 1,
Branch CR24170 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 779 (790 on master)
Windows: 392 (392 on master)
products component :
Linux: 190 (190 on master)
Windows: 287 (287 on master)
Regressions:
No regressions
Improvements:
No improvements
Testing cases:
Not needed
Testing on Linux:
Total MEMORY difference: 365530240 / 366361780
Total CPU difference: 43597.40000000098 / 44238.54000000111
Testing on Windows:
Total MEMORY difference: 427313660 / 429125892
Total CPU difference: 41323.3125 / 39406.125
There are not differences in images found by testdiff.
Branch CR24170 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 779 (790 on master)
Windows: 392 (392 on master)
products component :
Linux: 190 (190 on master)
Windows: 287 (287 on master)
Regressions:
No regressions
Improvements:
No improvements
Testing cases:
Not needed
Testing on Linux:
Total MEMORY difference: 365530240 / 366361780
Total CPU difference: 43597.40000000098 / 44238.54000000111
Testing on Windows:
Total MEMORY difference: 427313660 / 429125892
Total CPU difference: 41323.3125 / 39406.125
There are not differences in images found by testdiff.
Related records