View Issue Details

IDProjectCategoryView StatusLast Update
0032057Open CASCADEOCCT:Codingpublic2021-01-16 14:12
Reporterbugmaster Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
PlatformiOS 
Product Version7.5.0 
Target Version7.6.0Fixed in Version7.6.0 
Summary0032057: Coding Rules - eliminate CLang warning -Wunused-parameter when targeting iOS
DescriptionConfiguration:
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,
TagsNo tags attached.
Test case numberNot required

Activities

kgv

2021-01-14 14:09

developer   ~0098119

Please check the patch in OCCT branch CR32057.

bugmaster

2021-01-16 13:31

administrator   ~0098153

Combination -
OCCT branch : IR-2021-01-15
master SHA - 6fab0b34288ef3f29ecf4eabc0283540460dbc31
a206de37fbfa0bf71bd534ae47192bbec23b8522
Products branch : IR-2021-01-15 SHA - a8521c25e41405ac279e65e1fcde5de75a344b0b
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

Related Changesets

occt: master 92cc34d7

2021-01-14 11:09:38

kgv


Committer: bugmaster Details Diff
0032057: Coding Rules - eliminate CLang warning -Wunused-parameter when targeting iOS

Cocoa_Window::Cocoa_Window()/OpenGl_Context::SetSwapInterval() have been corrected to suppress warning.
Affected Issues
0032057
mod - src/Cocoa/Cocoa_Window.mm Diff File
mod - src/OpenGl/OpenGl_Context.cxx Diff File

Issue History

Date Modified Username Field Change
2021-01-14 12:50 bugmaster New Issue
2021-01-14 12:50 bugmaster Assigned To => kgv
2021-01-14 12:50 bugmaster Status new => assigned
2021-01-14 14:06 kgv Summary Coding - Warnings on compilation for iOS => Coding Rules - eliminate CLang warning -Wunused-parameter when targeting iOS
2021-01-14 14:06 kgv Description Updated
2021-01-14 14:09 kgv Note Added: 0098119
2021-01-14 14:09 kgv Assigned To kgv => bugmaster
2021-01-14 14:09 kgv Status assigned => resolved
2021-01-14 14:09 kgv Status resolved => reviewed
2021-01-16 13:31 bugmaster Note Added: 0098153
2021-01-16 13:31 bugmaster Status reviewed => tested
2021-01-16 13:55 bugmaster Test case number => Not required
2021-01-16 14:12 bugmaster Changeset attached => occt master 92cc34d7
2021-01-16 14:12 bugmaster Status tested => verified
2021-01-16 14:12 bugmaster Resolution open => fixed