diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-20 16:50:41 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-20 16:50:41 +0000 |
commit | 738387f9a417537e768d56d3fc4afcb9dc82d66b (patch) | |
tree | 47227ac3b82b8813b489904f785a3e52694a5707 /libs/ardour/ardour/debug.h | |
parent | 96cd6c993b0ed9a775f7ea096e2afe01be9d00b9 (diff) |
remove a couple of boost::signals2 trouble spots; fix some --strict compile time warnings
git-svn-id: svn://localhost/ardour2/branches/3.0@6378 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/debug.h')
-rw-r--r-- | libs/ardour/ardour/debug.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/ardour/ardour/debug.h b/libs/ardour/ardour/debug.h index 2998771dba..3951fe11ef 100644 --- a/libs/ardour/ardour/debug.h +++ b/libs/ardour/ardour/debug.h @@ -50,7 +50,8 @@ namespace ARDOUR { Transport = 0x400, Slave = 0x800, SessionEvents = 0x800, - MidiIO = 0x1000 + MidiIO = 0x1000, + MackieControl = 0x2000 }; } @@ -58,12 +59,13 @@ namespace ARDOUR { #ifndef NDEBUG #define DEBUG_TRACE(bits,str) if ((bits) & ARDOUR::debug_bits) { ARDOUR::debug_print (# bits, str); } -#define DEBUG_STR_SET(id,s) std::stringstream __debug_str ## id; __debug_str ## id << s; +#define DEBUG_STR_DECL(id) std::stringstream __debug_str ## id; #define DEBUG_STR(id) __debug_str ## id +#define DEBUG_STR_APPEND(id,s) __debug_str ## id << s; #else #define DEBUG_TRACE(bits,fmt,...) /*empty*/ -#define DEBUG_STR_SET(a,b) /* empty */ #define DEBUG_STR(a) /* empty */ +#define DEBUG_STR_APPEND(a,b) /* empty */ #endif #endif /* __ardour_debug_h__ */ |