From owner-freebsd-toolchain@FreeBSD.ORG Sat Nov 24 11:12:47 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 ADE26BB5; Sat, 24 Nov 2012 11:12:47 +0000 (UTC) (envelope-from theraven@theravensnest.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) by mx1.freebsd.org (Postfix) with ESMTP id 64C928FC14; Sat, 24 Nov 2012 11:12:46 +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 qAOAj4qV086317 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Sat, 24 Nov 2012 10:45:05 GMT (envelope-from theraven@theravensnest.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: <50AFEA5D.2020607@FreeBSD.org> Date: Sat, 24 Nov 2012 10:45:01 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <76D35059-88C3-49F3-A871-3402A49875CD@theravensnest.org> References: <50AEB0A1.3090803@kbh.biglobe.ne.jp> <50AFEA5D.2020607@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: Sat, 24 Nov 2012 11:12:47 -0000 On 23 Nov 2012, at 21:27, Dimitry Andric wrote: > Note there are also other problems when compiling libc++ with = -std=3Dc++98 > and -std=3Dc++03, such as complaints about namespacing and such. I am = not > entirely sure libc++ is fully supported yet under those restrictions. = :) 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. To upstream this patch, the __LONG_LONG_SUPPORTED flag should be = unconditionally set for non-FreeBSD flags in the __config file in = libc++. This will have no functionality change on other platforms. David=