VS build failure

jahanian fjahanian at apple.com
Tue Oct 1 08:56:55 PDT 2013


We can disable build of libcxx on our VS buildbots. But, we would like to hear better alternatives/suggestions, if any.

- Thanks, Fariborz


On Sep 30, 2013, at 9:03 AM, jahanian <fjahanian at apple.com> wrote:

> HI Chandler,
> This patch 
> Enable libcxx as part of the top level CMake build when it is checked
> out in projects. This appears to be working on my system, and I will be
> watching build bots to see if there are any issues on other platforms.
> 
> Changed files
> 
> src/projects/CMakeLists.txt
> 
> causes all libcxx compiles to fail on VS buildbot. AN example of diagnostics would be:
> 
>  hash.cpp
> C:/public/zorg/buildbot/smooshlab/slave-0.8/.../src/projects/libcxx/include\type_traits(927): error C2681: 'add_rvalue_reference<_Tp*>::type' : invalid expression type for dynamic_cast [C:\public\zorg\buildbot\smooshlab\slave-0.8\...\clang-build\210328\projects\libcxx\lib\cxx.vcxproj]
> C:/public/zorg/buildbot/smooshlab/slave-0.8/.../src/projects/libcxx/include\type_traits(927): error C2681: 'add_rvalue_reference<_Tp*>::type' : invalid expression type for dynamic_cast [C:\public\zorg\buildbot\smooshlab\slave-0.8\...\clang-build\210328\projects\libcxx\lib\cxx.vcxproj]
> C:/public/zorg/buildbot/smooshlab/slave-0.8/.../src/projects/libcxx/include\type_traits(927): error C2681: 'add_rvalue_reference<_Tp*>::type' : invalid expression type for dynamic_cast [C:\public\zorg\buildbot\smooshlab\slave-0.8\...\clang-build\210328\projects\libcxx\l
> ib\cxx.vcxproj]C:/public/zorg/buildbot/smooshlab/slave-0.8/.../src/projects/libcxx/include\type_traits(1404): error C2516: 'std::common_type<_Tp>::type' : is not a legal base class [C:\public\zorg\buildbot\smooshlab\slave-0.8\...\clang-build\210328\projects\libcxx\lib\cxx.vcxproj]
>           with
>           [
>               _Tp=
>           ]
>           C:/public/zorg/buildbot/smooshlab/slave-0.8/.../src/projects/libcxx/include\type_traits(1328) : see declaration of 'std::common_type<_Tp>::type'
>           with
>           [
>               _Tp=
>           ]
> 
> - Fariborz
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131001/914bed92/attachment.html>


More information about the cfe-commits mailing list