From owner-freebsd-toolchain@FreeBSD.ORG Mon Nov 26 20:32:59 2012 Return-Path: Delivered-To: toolchain@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A54DCF05; Mon, 26 Nov 2012 20:32:59 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) by mx1.freebsd.org (Postfix) with ESMTP id 65F7A8FC16; Mon, 26 Nov 2012 20:32:56 +0000 (UTC) Received: from [192.168.0.2] (cpc39-cmbg15-2-0-cust69.5-4.cable.virginmedia.com [81.101.138.70]) (authenticated bits=0) by theravensnest.org (8.14.5/8.14.5) with ESMTP id qAQKWrK1099176 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Mon, 26 Nov 2012 20:32:55 GMT (envelope-from theraven@FreeBSD.org) Subject: Re: [patch][libc++]using some undeclared functions with -std=c++98, -std=c++03 or -ansi Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: David Chisnall In-Reply-To: <50B3CD06.7040304@FreeBSD.org> Date: Mon, 26 Nov 2012 20:32:48 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <4F2767D3-C5F9-4E06-85AC-6C3B9BB1C1B4@FreeBSD.org> References: <50AEB0A1.3090803@kbh.biglobe.ne.jp> <50AFEA5D.2020607@FreeBSD.org> <76D35059-88C3-49F3-A871-3402A49875CD@theravensnest.org> <50B3CD06.7040304@FreeBSD.org> To: Dimitry Andric X-Mailer: Apple Mail (2.1278) Cc: toolchain@FreeBSD.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Nov 2012 20:32:59 -0000 On 26 Nov 2012, at 20:11, Dimitry Andric wrote: > On 2012-11-24 11:45, David Chisnall wrote: > ... >> In theory, the libc++ headers that are part of the C++03 spec (i.e. = not things like ) should work in C++98 / C++03 mode, however = the implementation in libc++ must be compiled in C++11 mode. >=20 > Minor note: we now use -std=3Dc++0x by default for building libc++, so > shall I update that to -std=3Dc++11? Yes, if we've now got a clang in base that understands that. David