diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2013-04-02 19:40:11 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2013-04-02 20:35:43 +0800 |
commit | 0e1e4c378ef579441c3815c6213422f1df530f9b (patch) | |
tree | cdcb4668adc34a37bd12474c33c566e74014ea86 | |
parent | 18f0873ec950f1496e55c2bd68b9debd1b0bb4ce (diff) | |
download | toolchain_gcc-0e1e4c378ef579441c3815c6213422f1df530f9b.tar.gz toolchain_gcc-0e1e4c378ef579441c3815c6213422f1df530f9b.tar.bz2 toolchain_gcc-0e1e4c378ef579441c3815c6213422f1df530f9b.zip |
[4.8] Patch GCC libstdc++ to work with Clang in C++11
See http://clang.llvm.org/cxx_status.html
http://code.google.com/p/android/issues/detail?id=39600
https://android-review.googlesource.com/#/c/47836/
1e4edc8addf7fc21d821e64cc81d85315561bcd9
Change-Id: Ibbc2ed2bf665bbdd9529e6d962312b10a0da320f
-rw-r--r-- | gcc-4.8/libstdc++-v3/include/std/type_traits | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.8/libstdc++-v3/include/std/type_traits b/gcc-4.8/libstdc++-v3/include/std/type_traits index 334b8d0ab..97f8bafeb 100644 --- a/gcc-4.8/libstdc++-v3/include/std/type_traits +++ b/gcc-4.8/libstdc++-v3/include/std/type_traits @@ -1806,7 +1806,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION struct __common_type_impl : private __do_common_type_impl { - typedef decltype(_S_test<_Tp, _Up>(0)) type; + typedef typename decay<decltype(_S_test<_Tp, _Up>(0))>::type type; }; struct __do_member_type_wrapper |