From owner-freebsd-toolchain@FreeBSD.ORG Mon Nov 26 20:11:55 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 0CA51589 for ; Mon, 26 Nov 2012 20:11:55 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id AD8688FC16 for ; Mon, 26 Nov 2012 20:11:54 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:5996:6a9e:9a88:4013] (unknown [IPv6:2001:7b8:3a7:0:5996:6a9e:9a88:4013]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 681245C37; Mon, 26 Nov 2012 21:11:52 +0100 (CET) Message-ID: <50B3CD06.7040304@FreeBSD.org> Date: Mon, 26 Nov 2012 21:11:50 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: David Chisnall Subject: Re: [patch][libc++]using some undeclared functions with -std=c++98, -std=c++03 or -ansi References: <50AEB0A1.3090803@kbh.biglobe.ne.jp> <50AFEA5D.2020607@FreeBSD.org> <76D35059-88C3-49F3-A871-3402A49875CD@theravensnest.org> In-Reply-To: <76D35059-88C3-49F3-A871-3402A49875CD@theravensnest.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:11:55 -0000 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. Minor note: we now use -std=c++0x by default for building libc++, so shall I update that to -std=c++11?