fixes for gcc 4.6 from bug #3771

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@9505 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-05-13 16:47:13 +00:00
parent 4ffb67a4df
commit 5f6cd9882f
3 changed files with 6 additions and 2 deletions

View file

@ -31,7 +31,8 @@
using namespace std;
using namespace PBD;
using namespace ARDOUR;
namespace ARDOUR
{
void
setup_enum_writer ()
@ -363,3 +364,5 @@ setup_enum_writer ()
REGISTER (_Track_FreezeState);
}
}

View file

@ -19,6 +19,7 @@
#define RUBBERBAND_API_MAJOR_VERSION 2
#define RUBBERBAND_API_MINOR_VERSION 0
#include <cstddef>
#include <vector>
/**

View file

@ -177,7 +177,7 @@ wiimote_discovery:
std::cerr << "Wiimote: discovering, press 1+2" << std::endl;
while (!wiimote_handle && !main_thread_quit) {
bdaddr = *BDADDR_ANY;
bdaddr = (bdaddr_t) {{0, 0, 0, 0, 0, 0}};
callback_thread_registered_for_ardour = false;
wiimote_handle = cwiid_open(&bdaddr, 0);