This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/42734] trivial use of std::thread fails with "pure virtual method called"


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]