|
|
Subscribe / Log in / New account

GCC 4.9.0 release candidate available

GCC 4.9.0 release candidate available

Posted Apr 14, 2014 13:55 UTC (Mon) by pfee (guest, #79072)
Parent article: GCC 4.9.0 release candidate available

Any updates on the status of C++11 support? In particular will the "experimental" description be disappearing from this page?
http://gcc.gnu.org/projects/cxx0x.html

Jonathan Wakely has previously suggested that this could happen with GCC 4.9.
https://lwn.net/Articles/552747/


to post comments

GCC 4.9.0 release candidate available

Posted Apr 14, 2014 18:15 UTC (Mon) by jwakely (subscriber, #60262) [Link] (5 responses)

It obviously didn't happen for 4.9, but I'll be starting work on it as soon as 4.9.0 is released, so that we can complete the C++11 library and remove the experimental label for the next major release (4.10, or 5.0, or whatever it will be called).

GCC 4.9.0 release candidate available

Posted Apr 15, 2014 0:31 UTC (Tue) by Trelane (subscriber, #56877) [Link] (4 responses)

Is there a reference that discusses what's missing? I'd like to know that (and also C11 support).

Thanks!

GCC 4.9.0 release candidate available

Posted Apr 15, 2014 9:54 UTC (Tue) by khim (subscriber, #9252) [Link] (2 responses)

Some C++11 features (AFAIK mostly on libstdc++ side) require incompatible change (std::list::size, non-refcounted std::string, etc). Since it's not a good idea to bring incompatible changes to libstdc++.so (with accompanying SONAME bump) these were all postponed till such a bump. AFAICS such bump didn't not happen which means that GCC 4.9.0 offers refcounted std::string, slow std::list:size and so - but also compatible libstdc++.so.

Someone need to take a look on C++11 standard and collect all these pesky cases where compatibility breakage in inevitable and then include all these changes. That obviously didn't happen before GCC 4.9 - and that's why such list does not exist (the hard part is to find all these pieces, it's much easier to fix them rather then list them).

GCC 4.9.0 release candidate available

Posted Apr 16, 2014 0:37 UTC (Wed) by Trelane (subscriber, #56877) [Link]

Thanks! That was very helpful.

GCC 4.9.0 release candidate available

Posted Apr 16, 2014 9:41 UTC (Wed) by jwakely (subscriber, #60262) [Link]

GCC 4.9.0 release candidate available

Posted Apr 16, 2014 9:07 UTC (Wed) by jwakely (subscriber, #60262) [Link]

Yes, http://gcc.gnu.org/onlinedocs/libstdc++/manual/status.htm... is mostly accurate. It doesn't mention the std::list::size() non-conformance mentioned by khim above (I'll update the table, although I'm starting to work on fixing the issue today anyway).

http://cpprocks.com/c1114-compiler-and-library-shootout/ is also useful


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