compilation fails since introduction of timer

Bug #1256621 reported by Lukas Wirz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Enblend
Fix Released
Undecided
Unassigned

Bug Description

Hi,

Since the introduction of the timer class (around changeset 981) I get compile time errors about non existing types. Is that a missing 'include' or am I missing some flag?

cheers, lukas

[ 3%] Building CXX object src/CMakeFiles/enblend.dir/timer.cc.o
In file included from /usr/src/pano/enblend_hg/src/timer.cc:22:0:
/usr/src/pano/enblend_hg/src/timer.h:121:9: error: ‘tms’ does not name a type
/usr/src/pano/enblend_hg/src/timer.h:122:9: error: ‘tms’ does not name a type
/usr/src/pano/enblend_hg/src/timer.cc: In member function ‘void timer::ProcessorTime::start()’:
/usr/src/pano/enblend_hg/src/timer.cc:135:16: error: ‘start_’ was not declared in this scope
/usr/src/pano/enblend_hg/src/timer.cc:135:22: error: ‘times’ was not declared in this scope
/usr/src/pano/enblend_hg/src/timer.cc:136:9: error: ‘stop_’ was not declared in this scope
/usr/src/pano/enblend_hg/src/timer.cc: In member function ‘void timer::ProcessorTime::stop()’:
/usr/src/pano/enblend_hg/src/timer.cc:144:16: error: ‘stop_’ was not declared in this scope
/usr/src/pano/enblend_hg/src/timer.cc:144:21: error: ‘times’ was not declared in this scope
/usr/src/pano/enblend_hg/src/timer.cc:145:41: error: ‘start_’ was not declared in this scope
/usr/src/pano/enblend_hg/src/timer.cc: In member function ‘void timer::ProcessorTime::restart()’:
/usr/src/pano/enblend_hg/src/timer.cc:155:16: error: ‘start_’ was not declared in this scope
/usr/src/pano/enblend_hg/src/timer.cc:155:22: error: ‘times’ was not declared in this scope
/usr/src/pano/enblend_hg/src/timer.cc:156:9: error: ‘stop_’ was not declared in this scope
make[2]: *** [src/CMakeFiles/enblend.dir/timer.cc.o] Error 1
make[1]: *** [src/CMakeFiles/enblend.dir/all] Error 2
make: *** [all] Error 2

Revision history for this message
Lukas Wirz (l-wirz) wrote :

988 is the fix, thank you!

Changed in enblend:
status: New → Fix Committed
Revision history for this message
Christoph Spiel (cspiel) wrote :

Fixed in 4.2.

Changed in enblend:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.