Date: Fri, 7 Feb 2014 16:47:31 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: lev@FreeBSD.org Cc: freebsd-hackers <freebsd-hackers@freebsd.org>, freebsd-stable stable <freebsd-stable@freebsd.org> Subject: Re: Why clang bundled with 10-RELEASE doesn't define __has_feature(cxx_nullptr)? Message-ID: <4D300C6C-4684-4C42-B059-4CC40258358F@FreeBSD.org> In-Reply-To: <717736061.20140207174957@serebryakov.spb.ru> References: <717736061.20140207174957@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <lev@freebsd.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D300C6C-4684-4C42-B059-4CC40258358F>