public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [wwwdocs] Add libstdc++ ABI changes to /gcc-5/changes.html
@ 2015-04-21 11:54 Jonathan Wakely
  2015-04-22  7:54 ` Jonathan Wakely
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Wakely @ 2015-04-21 11:54 UTC (permalink / raw)
  To: libstdc++, gcc-patches; +Cc: Gerald Pfeifer, Sandra Loosemore

[-- Attachment #1: Type: text/plain, Size: 321 bytes --]

I plan to commit this to wwwdocs later today, it adds a caveat to the
top of the file, with a link to a larger description in the libstdc++
section, which links to the new page I've just added to the manual.

It also clarifies that the deprecations apply to C++, so people who
don't care about C++ can ignore that item.


[-- Attachment #2: patch.txt --]
[-- Type: text/x-patch, Size: 2086 bytes --]

Index: htdocs/gcc-5/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-5/changes.html,v
retrieving revision 1.109
diff -u -r1.109 changes.html
--- htdocs/gcc-5/changes.html	20 Apr 2015 08:22:35 -0000	1.109
+++ htdocs/gcc-5/changes.html	21 Apr 2015 11:45:51 -0000
@@ -16,15 +16,17 @@
   <ul>
     <li>The default mode for C is now <code>-std=gnu11</code> instead of
         <code>-std=gnu89</code>.</li>
+    <li>The C++ runtime library (libstdc++) uses a new ABI by default
+        (see <a href="#libstdcxx">below</a>).</li>
     <li>The Graphite framework for loop optimizations no longer requires the
 	CLooG library, only ISL version 0.14 (recommended) or 0.12.2.  The
         installation manual contains more information about requirements to
         build GCC.</li>
-    <li>The non-standard type traits
+    <li>The non-standard C++0x type traits
         <code>has_trivial_default_constructor</code>,
         <code>has_trivial_copy_constructor</code> and
         <code>has_trivial_copy_assign</code> have been deprecated and will
-        be removed in a future version. The standard traits
+        be removed in a future version. The standard C++11 traits
         <code>is_trivially_default_constructible</code>,
         <code>is_trivially_copy_constructible</code> and
         <code>is_trivially_copy_assignable</code> should be used instead.</li>
@@ -415,6 +417,11 @@
 
   <h4 id="libstdcxx">Runtime Library (libstdc++)</h4>
   <ul>
+    <li>A <a href="/onlinedocs/libstdc++/manual/using_dual_abi.html">Dual
+        ABI</a> is provided by the library. A new ABI is enabled by default.
+        The old ABI is still supported and can be used by defining the macro
+        <code>_GLIBCXX_USE_CXX11_ABI</code> to </code>0</code> before
+        including any C++ standard library headers. </li>
     <li>A new implementation of <code>std::string</code> is enabled by default,
         using the <em>small string optimization</em> instead of
         <em>copy-on-write</em> reference counting.</li>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [wwwdocs] Add libstdc++ ABI changes to /gcc-5/changes.html
  2015-04-21 11:54 [wwwdocs] Add libstdc++ ABI changes to /gcc-5/changes.html Jonathan Wakely
@ 2015-04-22  7:54 ` Jonathan Wakely
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2015-04-22  7:54 UTC (permalink / raw)
  To: Jonathan Wakely; +Cc: libstdc++, gcc-patches, Gerald Pfeifer, Sandra Loosemore

On 21 April 2015 at 12:54, I wrote:
> I plan to commit this to wwwdocs later today, it adds a caveat to the
> top of the file, with a link to a larger description in the libstdc++
> section, which links to the new page I've just added to the manual.

I committed it, and fixed the invalid HTML in </code>0</code>.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-22  7:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-21 11:54 [wwwdocs] Add libstdc++ ABI changes to /gcc-5/changes.html Jonathan Wakely
2015-04-22  7:54 ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).