I am using OF 0.11 on RPI 4 and get these errors which I do not get on macOS.
Will start poking around and see if I can figure this out.
/home/pi/openFrameworks/addons/ofxTiming/src/FadeTimer.h: In constructor ‘FadeTimer::FadeTimer()’: /home/pi/openFrameworks/addons/ofxTiming/src/FadeTimer.h:10:7: warning: ‘FadeTimer::direction’ will be initialized after [-Wreorder] bool direction; ^~~~~~~~~ /home/pi/openFrameworks/addons/ofxTiming/src/FadeTimer.h:9:9: warning: ‘double FadeTimer::referenceTime’ [-Wreorder] double referenceTime, risingLength, fallingLength; ^~~~~~~~~~~~~ /home/pi/openFrameworks/addons/ofxTiming/src/FadeTimer.h:12:2: warning: when initialized here [-Wreorder] FadeTimer() ^~~~~~~~~ In file included from /home/pi/openFrameworks/addons/ofxTiming/src/ofxTiming.h:8, from /home/pi/openFrameworks/addons/ofxTiming/example/src/main.cpp:2: /home/pi/openFrameworks/addons/ofxTiming/src/DurationTimer.h: In function ‘std::__cxx11::string humanDuration(float, int)’: /home/pi/openFrameworks/addons/ofxTiming/src/DurationTimer.h:27:1: error: control reaches end of non-void function [-Werror=return-type]
I am using OF 0.11 on RPI 4 and get these errors which I do not get on macOS.
Will start poking around and see if I can figure this out.
/home/pi/openFrameworks/addons/ofxTiming/src/FadeTimer.h: In constructor ‘FadeTimer::FadeTimer()’: /home/pi/openFrameworks/addons/ofxTiming/src/FadeTimer.h:10:7: warning: ‘FadeTimer::direction’ will be initialized after [-Wreorder] bool direction; ^~~~~~~~~ /home/pi/openFrameworks/addons/ofxTiming/src/FadeTimer.h:9:9: warning: ‘double FadeTimer::referenceTime’ [-Wreorder] double referenceTime, risingLength, fallingLength; ^~~~~~~~~~~~~ /home/pi/openFrameworks/addons/ofxTiming/src/FadeTimer.h:12:2: warning: when initialized here [-Wreorder] FadeTimer() ^~~~~~~~~ In file included from /home/pi/openFrameworks/addons/ofxTiming/src/ofxTiming.h:8, from /home/pi/openFrameworks/addons/ofxTiming/example/src/main.cpp:2: /home/pi/openFrameworks/addons/ofxTiming/src/DurationTimer.h: In function ‘std::__cxx11::string humanDuration(float, int)’: /home/pi/openFrameworks/addons/ofxTiming/src/DurationTimer.h:27:1: error: control reaches end of non-void function [-Werror=return-type]