MyHush / hush3

Hush: Speak And Transact Freely
https://myhush.org
Other
15 stars 13 forks source link

Hush3 compile error. #26

Closed Xandrah closed 5 years ago

Xandrah commented 5 years ago

In file included from src/mailbox_safe.hpp:43:0, from src/mailbox_safe.cpp:31: src/condition_variable.hpp:140:10: error: ‘condition_variable_any’ in namespace ‘std’ does not name a type std::condition_variable_any _cv; ^~~~~~ src/condition_variable.hpp: In member function ‘int zmq::condition_variable_t::wait(zmq::mutex_t, int)’: src/condition_variable.hpp:122:13: error: ‘_cv’ was not declared in this scope _cv.wait ( ^~~ src/condition_variable.hpp:122:13: note: suggested alternative: ‘recv’ _cv.wait ( ^~~ recv src/condition_variable.hpp:124:20: error: ‘_cv’ was not declared in this scope } else if (_cv.wait_for (mutex, std::chrono::milliseconds (timeout)) ^~~ src/condition_variable.hpp:124:20: note: suggested alternative: ‘recv’ } else if (_cv.waitfor (*mutex, std::chrono::milliseconds (timeout_)) ^~~ recv src/condition_variable.hpp:125:28: error: ‘std::cv_status’ has not been declared == std::cv_status::timeout) { ^~~~~ src/condition_variable.hpp: In member function ‘void zmq::condition_variable_t::broadcast()’: src/condition_variable.hpp:136:9: error: ‘_cv’ was not declared in this scope _cv.notify_all (); ^~~ src/condition_variable.hpp:136:9: note: suggested alternative: ‘recv’ _cv.notify_all (); ^~~ recv At global scope: cc1plus: error: unrecognized command line option ‘-Wno-tautological-constant-compare’ [-Werror] cc1plus: error: unrecognized command line option ‘-Wno-atomic-alignment’ [-Werror]