From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11207 invoked by alias); 23 Mar 2012 13:17:20 -0000 Received: (qmail 11197 invoked by uid 22791); 23 Mar 2012 13:17:19 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_MK X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Mar 2012 13:16:25 +0000 From: "mkline at cs dot wisc.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/52681] [C++11] Using std::thread without -pthread crashes without warning Date: Fri, 23 Mar 2012 13:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: mkline at cs dot wisc.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-03/txt/msg02037.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52681 --- Comment #2 from Matt Kline 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.