This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/71541] destructor of condition_variable_any crashes with static linkage
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 15 Jun 2016 11:55:04 +0000
- Subject: [Bug c++/71541] destructor of condition_variable_any crashes with static linkage
- Auto-submitted: auto-generated
- References: <bug-71541-4 at http dot gcc dot gnu dot org/bugzilla/>
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.