This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/42734] trivial use of std::thread fails with "pure virtual method called"
- 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: Sat, 16 Oct 2010 13:31:56 +0000
- Subject: [Bug libstdc++/42734] trivial use of std::thread fails with "pure virtual method called"
- Auto-submitted: auto-generated
- References: <bug-42734-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734
--- Comment #37 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-10-16 13:31:33 UTC ---
What I was thinking of is that bits/c++config.h defines the following based on
what was supported at the time the library is configured and built, not what is
supported later when users compile:
/* Define if builtin atomic operations for bool are supported on this host. */
#define _GLIBCXX_ATOMIC_BUILTINS_1 1
But I don't think <thread> depends on that. <future> and <atomic> do.