[cfe-commits] [libcxx] r173060 - in /libcxx/trunk/include: functional future

Howard Hinnant hhinnant at apple.com
Mon Jan 21 09:26:55 PST 2013


Author: hhinnant
Date: Mon Jan 21 11:26:55 2013
New Revision: 173060

URL: http://llvm.org/viewvc/llvm-project?rev=173060&view=rev
Log:
Donated anonymously:  This enables GCC 4.8.0 to build libc++.

Modified:
    libcxx/trunk/include/functional
    libcxx/trunk/include/future

Modified: libcxx/trunk/include/functional
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/functional?rev=173060&r1=173059&r2=173060&view=diff
==============================================================================
--- libcxx/trunk/include/functional (original)
+++ libcxx/trunk/include/functional Mon Jan 21 11:26:55 2013
@@ -1088,7 +1088,7 @@
       public __function::__maybe_derive_from_binary_function<_Rp(_ArgTypes...)>
 {
     typedef __function::__base<_Rp(_ArgTypes...)> __base;
-    aligned_storage<3*sizeof(void*)>::type __buf_;
+    typename aligned_storage<3*sizeof(void*)>::type __buf_;
     __base* __f_;
 
     template <class _Fp>

Modified: libcxx/trunk/include/future
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/future?rev=173060&r1=173059&r2=173060&view=diff
==============================================================================
--- libcxx/trunk/include/future (original)
+++ libcxx/trunk/include/future Mon Jan 21 11:26:55 2013
@@ -1757,7 +1757,7 @@
 class __packaged_task_function<_Rp(_ArgTypes...)>
 {
     typedef __packaged_task_base<_Rp(_ArgTypes...)> __base;
-    aligned_storage<3*sizeof(void*)>::type __buf_;
+    typename aligned_storage<3*sizeof(void*)>::type __buf_;
     __base* __f_;
 
 public:





More information about the cfe-commits mailing list