[cfe-dev] [PATCH] allow GCC 4.8 to build libc++
Ruben Van Boxem
vanboxem.ruben at gmail.com
Sun Nov 18 10:15:08 PST 2012
Hi,
Attached minor change allows libc++ to be built by GCC 4.8 on Windows x64.
Please comment or apply.
Thanks,
Ruben
PS: please CC me, I'm not subscribed to cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121118/847f28b3/attachment.html>
-------------- next part --------------
Index: include/functional
===================================================================
--- include/functional (revision 168268)
+++ include/functional (working copy)
@@ -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>
Index: include/future
===================================================================
--- include/future (revision 168268)
+++ include/future (working copy)
@@ -1753,7 +1753,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-dev
mailing list