This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++0x] nullptr


On 05/06/2010 05:10 PM, Jason Merrill wrote:
On 05/06/2010 05:04 PM, Paolo Carlini wrote:
Incidentally, library folks: does my change to gnu.ver look right? I
noticed that the stuff I put there before was redundant.

you are exporting new symbols, and we released already something with
CXXABI_1.3.4, thus I think the new symbols should go in a new
CXXABI_1.3.5.

Applying this patch.
commit 2e7997e7dbf1ae8a6971e80113e0520d42f7b357
Author: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu May 6 21:59:37 2010 +0000

    	* config/abi/pre/gnu.ver: Move decltype(nullptr) into CXXABI_1.3.5.
    	* testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.5.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159136 138bc75d-0d04-0410-961f-82ee72b054a4

diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver
index 3552d59..998b651 100644
--- a/libstdc++-v3/config/abi/pre/gnu.ver
+++ b/libstdc++-v3/config/abi/pre/gnu.ver
@@ -1307,9 +1307,18 @@ CXXABI_1.3.3 {
 
 CXXABI_1.3.4 {
 
-    # typeinfo for decimal floating point types and decltype(nullptr)
-    _ZTID[fden];
-    _ZTIPD[fden];
-    _ZTIPKD[fden];
+    # typeinfo for decimal floating point types
+    _ZTID[fde];
+    _ZTIPD[fde];
+    _ZTIPKD[fde];
 
 } CXXABI_1.3.3;
+
+CXXABI_1.3.5 {
+
+    # typeinfo for decltype(nullptr)
+    _ZTIDn;
+    _ZTIPDn;
+    _ZTIPKDn;
+
+} CXXABI_1.3.4;
diff --git a/libstdc++-v3/testsuite/util/testsuite_abi.cc b/libstdc++-v3/testsuite/util/testsuite_abi.cc
index 2c9f930..c7166c6 100644
--- a/libstdc++-v3/testsuite/util/testsuite_abi.cc
+++ b/libstdc++-v3/testsuite/util/testsuite_abi.cc
@@ -194,6 +194,7 @@ check_version(symbol& test, bool added)
       known_versions.push_back("CXXABI_1.3.2");
       known_versions.push_back("CXXABI_1.3.3");
       known_versions.push_back("CXXABI_1.3.4");
+      known_versions.push_back("CXXABI_1.3.5");
       known_versions.push_back("CXXABI_LDBL_1.3");
     }
   compat_list::iterator begin = known_versions.begin();

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]