From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21174 invoked by alias); 8 Oct 2012 11:00:03 -0000 Received: (qmail 20915 invoked by uid 48); 8 Oct 2012 10:59:49 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/54847] --enable-libstdcxx-time=yes non-functional on darwin Date: Mon, 08 Oct 2012 11:00: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: normal X-Bugzilla-Who: redi at gcc dot gnu.org 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-10/txt/msg00666.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847 --- Comment #25 from Jonathan Wakely 2012-10-08 10:59:46 UTC --- N.B. prior to POSIX 2008 nanosleep was part of the Timers option, if OS X supports that it should define _POSIX_TIMERS to 0, -1 or 200112L to indicate it's supported. POSIX 2008 moves the Timers functionality to the Base spec, and requires that _POSIX_TIMERS is defined to 200809L. In eiher case, a POSIX system supporting nanosleep should define _POSIX_TIMERS. The configure checks are based on well-documented, publicly-available standards, please try to understand them instead of proposing patches based on the misunderstanding that adding "struct" makes any difference to anything.