public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely@redhat.com>
To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org
Cc: Gerald Pfeifer <gerald@pfeifer.com>,
	       Sandra Loosemore <sandra@codesourcery.com>
Subject: [wwwdocs] Add libstdc++ ABI changes to /gcc-5/changes.html
Date: Tue, 21 Apr 2015 11:54:00 -0000	[thread overview]
Message-ID: <20150421115434.GH26224@redhat.com> (raw)

[-- 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>

             reply	other threads:[~2015-04-21 11:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-21 11:54 Jonathan Wakely [this message]
2015-04-22  7:54 ` Jonathan Wakely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150421115434.GH26224@redhat.com \
    --to=jwakely@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gerald@pfeifer.com \
    --cc=libstdc++@gcc.gnu.org \
    --cc=sandra@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).