This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/52681] [C++11] Using std::thread without -pthread crashes without warning
- From: "mkline at cs dot wisc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 23 Mar 2012 13:16:23 +0000
- Subject: [Bug libstdc++/52681] [C++11] Using std::thread without -pthread crashes without warning
- Auto-submitted: auto-generated
- References: <bug-52681-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52681
--- Comment #2 from Matt Kline <mkline at cs dot wisc.edu> 2012-03-23 13:16:23 UTC ---
Would it be possible to at least make the exception that is being thrown more
descriptive? I had guessed that some kind of compile-time warning might be
impossible, but my main concern is that the exception that gets thrown offers
little insight on what the problem might be.