MantisBT - Open CASCADE
View Issue Details
0029071Open CASCADE[OCCT] OCCT:Codingpublic2017-09-01 06:512020-08-28 14:53
[OCCT] 7.3.0 
[OCCT] 7.6.0* 
0029071: VC10 compiler warnings 'unreachable code' when building with link-time code generation
When building OCCT with VC10 with compiler option /GL (global optimization) and linker option /LTCG (link-time code generation), it gives the following warnings on unreachable code:

warning C4702: unreachable code d:\abv\occt\occt\src\draw\draw.cxx 404
warning C4702: unreachable code d:\abv\occt\occt\src\intstart\intstart_searchonboundaries.gxx 944
No tags attached.
child of 0026986closed ski Open CASCADE Configuration -- use link-time optimization 
child of 0022951closed apn Community Configuration - Link-time code generation for OCCT solution 
Issue History
2017-09-01 06:51abvNew Issue
2017-09-01 06:51abvAssigned To => kgv
2017-09-01 06:51abvRelationship addedchild of 0026986
2017-09-01 06:52abvRelationship addedchild of 0022951
2019-07-10 19:27abvTarget Version7.4.0 => 7.5.0
2020-08-28 14:53kgvProduct Version => 7.3.0
2020-08-28 14:53kgvTarget Version7.5.0 => 7.6.0*

There are no notes attached to this issue.