[Bug c++/71541] destructor of condition_variable_any crashes with static linkage

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 15 11:55:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71541

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
You need to link to libpthread to use std::condition_variable_any.


More information about the Gcc-bugs mailing list