From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 7 15:47:51 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 941EA54A; Fri, 7 Feb 2014 15:47:51 +0000 (UTC) Received: from tensor.andric.com (unknown [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4DA3D1AAF; Fri, 7 Feb 2014 15:47:51 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::9502:12a8:3deb:47e] (unknown [IPv6:2001:7b8:3a7:0:9502:12a8:3deb:47e]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 4FD1F5C44; Fri, 7 Feb 2014 16:47:42 +0100 (CET) Subject: Re: Why clang bundled with 10-RELEASE doesn't define __has_feature(cxx_nullptr)? Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: multipart/signed; boundary="Apple-Mail=_4BBF6D1A-1376-4B99-AA3A-E79385123DA2"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.1 (6062eb4) From: Dimitry Andric X-Priority: 3 (Normal) In-Reply-To: <717736061.20140207174957@serebryakov.spb.ru> Date: Fri, 7 Feb 2014 16:47:31 +0100 Message-Id: <4D300C6C-4684-4C42-B059-4CC40258358F@FreeBSD.org> References: <717736061.20140207174957@serebryakov.spb.ru> To: lev@FreeBSD.org X-Mailer: Apple Mail (2.1827) Cc: freebsd-hackers , freebsd-stable stable X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 15:47:51 -0000 --Apple-Mail=_4BBF6D1A-1376-4B99-AA3A-E79385123DA2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 07 Feb 2014, at 14:49, Lev Serebryakov wrote: > Hello, freebsd-stable. >=20 > Why __has_feature(cxx_nulptr) doesn't work on system compiler? nullptr > itself works! ... >> c++ test.cxx > test.cxx:11:2: warning: "Doesn't have nullptr" [-W#warnings] > #warning "Doesn't have nullptr" Hi Lev, You need to specify at least -std=3Dc++0x for nullptr to be 'officially' = available. -Dimitry --Apple-Mail=_4BBF6D1A-1376-4B99-AA3A-E79385123DA2 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iEYEARECAAYFAlL1ABcACgkQsF6jCi4glqOiCwCfZ1wblORGtohD7J9hZdTmEUHe zYkAoMX/MQwL6DABrtSqFVTHairtsQYT =H/EL -----END PGP SIGNATURE----- --Apple-Mail=_4BBF6D1A-1376-4B99-AA3A-E79385123DA2--