LWN.net Logo

A look at C++14, part 1

A look at C++14, part 1

Posted Mar 29, 2013 5:26 UTC (Fri) by rriggs (subscriber, #11598)
In reply to: A look at C++14, part 1 by hummassa
Parent article: A look at C++14, part 1

It might not be obvious from the tone of my post, but I was being rather facetious. I love C++. But like most C++ programmers, there is a bit of a love/hate thing going on. I love that C++11 rocks. I hate that I cannot yet write C++11 on RHEL. The "experimental" nature of the shipping C++11 compilers and the ABI incompatibility with C++98 libraries on Linux make it a bit of a problem for long-term stability.

Tell me again why GCC had to take on all the ABI breakage with the new standard?


(Log in to post comments)

A look at C++14, part 1

Posted Mar 29, 2013 14:09 UTC (Fri) by foom (subscriber, #14868) [Link]

Well, it's actually not broken much, yet. The std::string and std::list classes are still not C++11 conformant right now, and fixing that will certainly cause ABI issues.

Since the change to std::list in C++11 mode was reverted (it was incompatible in 4.7.0 and 4.7.1, reverted in 4.7.2), I've been using C++11 code against C++98 libraries without a problem.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds