View Issue Details

IDProjectCategoryView StatusLast Update
0025859Open CASCADEOCCT:Codingpublic2022-08-17 12:01
Reporterapn Assigned Togka  
PrioritynormalSeverityminor 
Status assignedResolutionopen 
Product Version6.3.1 
Target Version7.8.0 
Summary0025859: Coding Rules - 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

Relationships

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

Activities

kgv

2015-02-25 15:56

developer   ~0037869

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
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
2019-07-10 19:27 abv Target Version 7.4.0 => 7.5.0
2020-09-11 15:34 utverdov Target Version 7.5.0 => 7.6.0
2021-09-20 10:11 kgv Product Version => 6.3.1
2021-09-20 10:11 kgv Target Version 7.6.0 => 7.7.0
2021-09-20 10:11 kgv Summary Macro TRANSLOG should be handled => Coding Rules - Macro TRANSLOG should be handled
2022-08-17 12:01 kgv Target Version 7.7.0 => 7.8.0