From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6DBF0138247 for ; Fri, 20 Dec 2013 15:10:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6A963E0A9E; Fri, 20 Dec 2013 15:10:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8C29EE0A5F for ; Fri, 20 Dec 2013 15:10:15 +0000 (UTC) Received: from [192.168.1.145] (CPE002401f30b73-CM001cea3ddad8.cpe.net.cable.rogers.com [99.224.181.112]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: axs) by smtp.gentoo.org (Postfix) with ESMTPSA id 5E20633EDF8 for ; Fri, 20 Dec 2013 15:10:14 +0000 (UTC) Message-ID: <52B45DD1.2040101@gentoo.org> Date: Fri, 20 Dec 2013 10:10:09 -0500 From: Ian Stakenvicius User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] How to support C++11 in libraries? References: <20131218085447.56d1e133@gentoo.org> <52B309FD.60208@gentoo.org> <1479290.p0qqMGJcP8@sed-notebook> In-Reply-To: <1479290.p0qqMGJcP8@sed-notebook> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 900af455-e951-44cc-9106-6d4bffc2a1ca X-Archives-Hash: 5e4ce463fe65ede06bc129c6376669eb -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 20/12/13 06:56 AM, Sven Eden wrote: > > So basically C++11 <-> C++03 is no problem at all (unless you > *export* certain symbols [2]), but combining C++11 from different > gcc versions is nowhere guaranteed to work. > > Cheers > > Sven > > > [1] : https://lwn.net/Articles/552831/ [2] : > http://gcc.gnu.org/wiki/Cxx11AbiCompatibility > Aha... so what we should probably be doing then is filtering out - --std=c++11 until gcc-4.9 or whatever version is released, that will standardize things, so that we don't end up with systems that have a mix-and-match. And probably alert users using earlier versions of gcc that if they enable --std=c++11, they should expect to 'emerge -e @world' on any compiler switch. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlK0XdEACgkQ2ugaI38ACPB2WgEAtnLeonyTFCF5cMEIi0kSIHZ/ RZcgjzRbojT3YejvMmkA/2v/qC7Cy58QAgz7oEC5z+KvPUVBJ79Ana0+rrPoq9TM =pn2S -----END PGP SIGNATURE-----