From e1461e5ddc9a1209fcd4c51ad6f7916ae191ad6e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 12 Feb 2017 21:14:17 +0100 Subject: Fix warnings --- src/engine/Recorder.cpp | 3 +-- src/engine/Recorder.hpp | 1 - src/engine/wscript | 3 ++- 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src/engine') 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(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 _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 ' -- cgit v1.2.1