[llvm-dev] Compiling llvm+clang v3.5 with Visual Studio 2015

Welson Sun via llvm-dev llvm-dev at lists.llvm.org
Thu Jun 16 13:29:38 PDT 2016


I have been using Visual Studio 2012 to compile llvm+clang v3.5 without any
problems. Recently, the build team decided to upgrade VS2012 to VS2015, and
now instead of 0 errors, there are 25 errors during VS2015 compilation. For
example:

v3.5\src\include\llvm/ADT/IntrusiveRefCntPtr.h(158): error C2248:
'llvm::IntrusiveRefCntPtr<`anonymous-namespace'::ChainedIncludesSource>::Obj':
cannot access private member declared in class
'llvm::IntrusiveRefCntPtr<`anonymous-namespace'::ChainedIncludesSource>'

Just curious anybody has tried this combination?

Thanks,
- Welson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160616/5bf5dfa3/attachment.html>


More information about the llvm-dev mailing list