DiscussionsIssue archiveOCCT:Foundation Classes

Archived issue #0023019

OSD_Chronometer fails to compile due to lack of clock_gettime() on Mac OS X

Open CASCADEOCCT:Foundation Classesclosed4 public notes

Search issues

Description

TKernel can not be build due to compilation error.
clock_gettime() does not implemented on the Mac OS X so it should be replaced.

Public activity

4 archived notes

Participants are labeled by their role within this record.

01Author
Patch is ready for review in CR23019 branch of git repository.

System function task_info() now used in OSD_Chronometer::GetThreadCPU()
to retrieve process info on Apple platforms.
02Commenter 2
No remarks, please test
03Commenter 1
Dear Commenter 2,
    Workbench KAS:dev:mkv-23019-occt was created from git branch CR23019
  (and mkv-23019-products from svn trunk) and compiled on Linux platform.
  
    There are not regressions in mkv-23019-products regarding to KAS:dev:products-20120306-opt
    
    See results in /QADisk/occttests/results/KAS/dev/mkv-23019-products_13032012/lin
    See reference results in /QADisk/occttests/results/KAS/dev/products-20120306-opt_07032012/lin
    See test cases in /QADisk/occttests/tests/ED
04Commenter 2
Integrated into master