Archived issue #0032057
Coding Rules - eliminate CLang warning -Wunused-parameter when targeting iOS
Description
Configuration:
arm64
http://jenkins-test-11.nnov.opencascade.com/view/master_master/view/OCCT%20compile/job/master_master-OCCT-MacOS-arm64-opt-compile/25/warnings10Result/
ios-sumulator
http://jenkins-test-11.nnov.opencascade.com/view/master_master/view/OCCT%20compile/job/master_master-OCCT-MacOS-ios-simulator-opt-compile/7/warnings10Result/
arm64
http://jenkins-test-11.nnov.opencascade.com/view/master_master/view/OCCT%20compile/job/master_master-OCCT-MacOS-arm64-opt-compile/25/warnings10Result/
ios-sumulator
http://jenkins-test-11.nnov.opencascade.com/view/master_master/view/OCCT%20compile/job/master_master-OCCT-MacOS-ios-simulator-opt-compile/7/warnings10Result/
/OCCT_SRC/src/OpenGl/OpenGl_Context.cxx:774:74: warning: unused parameter 'theInterval' [-Wunused-parameter]
Standard_Boolean OpenGl_Context::SetSwapInterval (const Standard_Integer theInterval)
^
/OCCT_SRC/src/Cocoa/Cocoa_Window.mm:98:52: warning: unused parameter 'theTitle' [-Wunused-parameter]
Cocoa_Window::Cocoa_Window (const Standard_CString theTitle,
Public activity
2 archived notes
Participants are labeled by their role within this record.
Please check the patch in OCCT branch CR32057.
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.
Number of compiler warnings:
No new/fixed warnings
Regressions/Differences/Improvements:
No regressions/differences
CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17754.160000000134 / 17720.07000000011 [+0.19%]
Products
Total CPU difference: 12412.630000000105 / 12419.360000000095 [-0.05%]
Windows-64-VC14:
OCCT
Total CPU difference: 19336.3125 / 19330.015625 [+0.03%]
Products
Total CPU difference: 13740.03125 / 13831.828125 [-0.66%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.
Number of compiler warnings:
No new/fixed warnings
Regressions/Differences/Improvements:
No regressions/differences
CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17754.160000000134 / 17720.07000000011 [+0.19%]
Products
Total CPU difference: 12412.630000000105 / 12419.360000000095 [-0.05%]
Windows-64-VC14:
OCCT
Total CPU difference: 19336.3125 / 19330.015625 [+0.03%]
Products
Total CPU difference: 13740.03125 / 13831.828125 [-0.66%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention