Re: Using C++11



On Mon, 2015-06-29 at 11:08 +0100, Chris Vine wrote:
On Mon, 29 Jun 2015 08:18:12 +0200
Murray Cumming <murrayc murrayc com> 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?

Yes, if only because mozilla now requires c++11.
[snip]
(Sorry, I'm trying to keep this very simple.)

I don't know if Firefox depends on any other C++11 libraries so it might
not be the example I'm looking for.

Another for-instance question:
Ubuntu 15.04 (Vidid Vervet), which I'm running here, has g++ 4.9.2 and
its glibmm/gtkmm are built without --std=c++11. If SomeAppOrOther
depended on gtkmm as it is now, could its Ubuntu package be safely built
with or without --std=c++11?


-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]