From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7077 invoked by alias); 18 Sep 2009 13:47:13 -0000 Received: (qmail 7052 invoked by uid 48); 18 Sep 2009 13:47:02 -0000 Date: Fri, 18 Sep 2009 13:47:00 -0000 Message-ID: <20090918134702.7051.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/40925] [c++0x] std::pair constructor doesn't accept (0, 0) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "joerg dot richter at pdv-fs dot de" 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: 2009-09/txt/msg01690.txt.bz2 ------- Comment #5 from joerg dot richter at pdv-fs dot de 2009-09-18 13:47 ------- I found Doug Gregors workaround for this pair problem: http://gcc.gnu.org/ml/libstdc++/2008-10/msg00080.html I wonder why it was reverted 9 days later? I couldn't find any discussion on gcc-patches nor libstdc++. Perhaps I have missed something. Was this patch not good enough? The reason I ask is that I want to use C++0x. Currently I do this with "-std=gnu++0x -U__GXX_EXPERIMENTAL_CXX0X__" I undefine __GXX_EXPERIMENTAL_CXX0X__ just because of the pair(0) problem. But unfortunately this doesn't give me the library features of C++0x :( -- joerg dot richter at pdv-fs dot de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joerg dot richter at pdv-fs | |dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40925