diff options
author | David Robillard <d@drobilla.net> | 2017-02-12 21:14:17 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-02-12 21:14:17 +0100 |
commit | e1461e5ddc9a1209fcd4c51ad6f7916ae191ad6e (patch) | |
tree | 784207f1dd940fe69739c7d14c5b39017c278505 /src/engine | |
parent | f249d6b60cb3268bb4f70468657f5eefef7add0f (diff) | |
download | machina-e1461e5ddc9a1209fcd4c51ad6f7916ae191ad6e.tar.gz machina-e1461e5ddc9a1209fcd4c51ad6f7916ae191ad6e.tar.bz2 machina-e1461e5ddc9a1209fcd4c51ad6f7916ae191ad6e.zip |
Fix warnings
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/Recorder.cpp | 3 | ||||
-rw-r--r-- | src/engine/Recorder.hpp | 1 | ||||
-rw-r--r-- | src/engine/wscript | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/engine/Recorder.cpp b/src/engine/Recorder.cpp index 96595c3..21dfd4b 100644 --- a/src/engine/Recorder.cpp +++ b/src/engine/Recorder.cpp @@ -30,8 +30,7 @@ Recorder::Recorder(Forge& forge, TimeUnit unit, double q, bool step) - : _forge(forge) - , _unit(unit) + : _unit(unit) , _record_buffer(buffer_size) , _builder(new MachineBuilder(SPtr<Machine>(new Machine(unit)), q, step)) {} diff --git a/src/engine/Recorder.hpp b/src/engine/Recorder.hpp index 1084f17..c98c42b 100644 --- a/src/engine/Recorder.hpp +++ b/src/engine/Recorder.hpp @@ -58,7 +58,6 @@ public: private: virtual void _whipped(); - Forge& _forge; TimeUnit _unit; Raul::RingBuffer _record_buffer; SPtr<MachineBuilder> _builder; diff --git a/src/engine/wscript b/src/engine/wscript index 380aff9..1ec63a2 100644 --- a/src/engine/wscript +++ b/src/engine/wscript @@ -35,7 +35,8 @@ def build(bld): obj.name = 'libmachina_engine' obj.target = 'machina_engine' obj.cxxflags = '-pthread' - obj.linkflags = '-pthread' + if bld.env.CXX_NAME != 'clang': + obj.linkflags = '-pthread' core_libs = 'RAUL SERD SORD JACK LV2' if bld.env.HAVE_EUGENE: core_libs += ' EUGENE ' |