Re: Using C++11
- From: Chris Vine <chris cvine freeserve co uk>
- To: gtkmm-list gnome org
- Subject: Re: Using C++11
- Date: Mon, 29 Jun 2015 11:26:19 +0100
On Mon, 29 Jun 2015 12:03:04 +0200
Kalev Lember <kalevlember gmail com> wrote:
On 06/29/2015 08:18 AM, Murray Cumming wrote:
On Sun, 2015-06-28 at 20:30 +0100, Chris Vine wrote:
On Sun, 28 Jun 2015 20:17:28 +0200
Murray Cumming <murrayc murrayc com> wrote:
Given that --std=c+11 breaks ABI compatibility (at least in the
standard library), I wonder if/when distros would ever build
glibmm with C++11 support.
gcc-3.4 and gcc-4.* do not provide libstdc++ with a C++11
compliant ABI (this is mainly concerned with gcc's copy on write
string implementation) and gcc-5.1 does by default do so,
[snip]
So do you think any apps have been built with C++11 on mainstream
distros so far?
All of Fedora 23 (scheduled for release this October / November) is
built with the new C++11 ABI.
True, but this is orthogonal to the question whether distributions ship
programs "built with C++11", from which I took Murray to mean which use
C++11 features and are compiled with the -std=c++0x or -std=c++11
flags. Fedora 22 also ships with programs "built with C++11", including
firefox. Quite probably fedora 21 does so too.
The new C++ ABI covers any C++ program, C++98 or C++11 or whatever,
which uses a version of libstdc++ compiled for the new ABI. The old
C++ ABI covers any C++ program, C++98 or C++11 or whatever, which uses
a version of libstdc++ compiled for the old ABI.
Chris
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]