RippleGen
RippleGen copied to clipboard
Make fails on OSX 10.9
Boost 1.55.0_1
149 warnings + the following errors:
ripplegen.cpp:83:51: error: reference to 'mutex' is ambiguous
boost::unique_lock<boost::mutex> lock(mutex);
^
ripplegen.cpp:41:14: note: candidate found by name lookup is 'mutex'
boost::mutex mutex;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__mutex_base:25:24: note:
candidate found by name lookup is 'std::__1::mutex'
class _LIBCPP_TYPE_VIS mutex
^
ripplegen.cpp:83:51: error: reference to 'mutex' is ambiguous
boost::unique_lock<boost::mutex> lock(mutex);
^
ripplegen.cpp:41:14: note: candidate found by name lookup is 'mutex'
boost::mutex mutex;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__mutex_base:25:24: note:
candidate found by name lookup is 'std::__1::mutex'
class _LIBCPP_TYPE_VIS mutex
^
ripplegen.cpp:119:43: error: reference to 'mutex' is ambiguous
boost::unique_lock<boost::mutex> lock(mutex);
^
ripplegen.cpp:41:14: note: candidate found by name lookup is 'mutex'
boost::mutex mutex;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__mutex_base:25:24: note:
candidate found by name lookup is 'std::__1::mutex'
class _LIBCPP_TYPE_VIS mutex
^
ripplegen.cpp:119:43: error: reference to 'mutex' is ambiguous
boost::unique_lock<boost::mutex> lock(mutex);
^
ripplegen.cpp:41:14: note: candidate found by name lookup is 'mutex'
boost::mutex mutex;
^
Samething happened to me. Are you able to fix it?
I think that the variable mutex is conflicting with std::mutex
try renaming the three instances with mutexx instead.