MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0029161Open CASCADE[OCCT] OCCT:Codingpublic2017-09-29 13:012017-10-04 11:18
Reporterkgv 
Assigned Tokgv 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformOSOS Version
Product Version[OCCT] 7.2.0 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0029161: Coding Rules - No_Exception is defined within packages ElSLib, HLRAlgo, HLRBRep, Intrv even for Debug target
DescriptionThe following pacakges unconditionally and without any comments define No_Exception macro: ElSLib, HLRAlgo, HLRBRep, Intrv.
#ifndef No_Exception
#define No_Exception
#endif


No_Exception is expected to be managed by OCCT building configuration parameters, not within the code - defining it within Debug builds effectively disables validation checks intended to protect against / reveal errors in code. This also introduces inconsistency of actual implementation of affected methods between specific packages and other parts of OCCT.

Thus, places currently defining No_Exception might be a subject for unreveleaed memory issues.
TagsNo tags attached.
Test case number
Attached Files

- Relationships
related to 0029181assignedapn Open CASCADE Jenkins Certification Tool - testing with enabled exceptions (undefined No_Exception) 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-09-29 13:01 kgv New Issue
2017-09-29 13:01 kgv Assigned To => kgv
2017-09-29 13:01 kgv Description Updated View Revisions
2017-09-29 13:02 kgv Summary Coding Rules - No_Exception is defined within => Coding Rules - No_Exception is defined within packages ElSLib, HLRAlgo, HLRBRep, Intrv even for Debug target
2017-09-29 13:03 kgv Relationship added related to 0028194
2017-10-04 11:18 kgv Relationship added related to 0029181


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker