MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0025859Open CASCADE[OCCT] OCCT:Codingpublic2015-02-24 19:202017-07-27 09:33
Reporterapn 
Assigned Togka 
PrioritynormalSeverityminor 
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0025859: Macro TRANSLOG should be handled
DescriptionThe macros TRANSLOG is defined by default (STEPControl_ActorRead.cxx) and seems to be used to print debug messages:
#define TRANSLOG
...
#ifdef TRANSLOG
    if (TP->TraceLevel() > 1) 
      sout<<" -- Actor : Ent.n0 "<<TP->Model()->Number(PD)<<" 
-> Shared Ent.no"<<TP->Model()->Number(NAUO)<<endl;
#endif
TagsNo tags attached.
Test case number
Attached Files

- Relationships
related to 0025765closedbugmaster Coding rules - clean up code from obsolete macro checks 

-  Notes
(0037869)
kgv (developer)
2015-02-25 15:56

Dear gka,

could you please comment on how code escaped by macros TRANSLOG should be handled?
The options are:
- Leave code as is.
- Leave behavior as is, but remove TRANSLOG macro checks (which currently always defined).
- Use OCCT_DEBUG instead of TRANSLOG.
- Entirely remove code escaped by TRANSLOG.

- Issue History
Date Modified Username Field Change
2015-02-24 19:20 apn New Issue
2015-02-24 19:20 apn Assigned To => kgv
2015-02-24 19:21 apn Status new => assigned
2015-02-24 19:21 apn Relationship added related to 0025765
2015-02-25 15:56 kgv Note Added: 0037869
2015-02-25 15:56 kgv Assigned To kgv => gka
2015-02-25 15:56 kgv Product Version 6.8.0 =>
2015-02-25 15:56 kgv Description Updated View Revisions
2015-04-14 18:13 gka Target Version 6.9.0 => 7.0.0
2015-12-15 14:06 abv Target Version 7.0.0 => 7.1.0
2016-10-26 11:59 gka Target Version 7.1.0 => 7.2.0
2017-07-27 09:33 abv Target Version 7.2.0 => 7.4.0*


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker