This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[PATCH] libstdc++: Fix list.cc xmethods test.
- From: Doug Evans <dje at google dot com>
- To: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Mon, 27 Apr 2015 15:33:15 -0700
- Subject: [PATCH] libstdc++: Fix list.cc xmethods test.
- Authentication-results: sourceware.org; auth=none
Hi.
While we should eventually get the xmethods to handle cxx11,
this patch fixes the current failure.
The xmethod matcher doesn't currently handle __cxx11 in the type name.
Adding cxx11 support can be a follow up patch.
Ok to commit?
2015-04-27 Doug Evans <dje@google.com>
* testsuite/libstdc++-xmethods/list.cc (_GLIBCXX_USE_CXX11_ABI):
Define to zero.
Index: testsuite/libstdc++-xmethods/list.cc
===================================================================
--- testsuite/libstdc++-xmethods/list.cc (revision 222477)
+++ testsuite/libstdc++-xmethods/list.cc (working copy)
@@ -18,6 +18,9 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
+// List xmethods only recognize the non cxx11 std::list for now.
+#define _GLIBCXX_USE_CXX11_ABI 0
+
#include <list>
int