[cfe-commits] r154248 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td include/clang/Sema/Sema.h lib/Sema/SemaAccess.cpp lib/Sema/SemaDeclCXX.cpp lib/Sema/SemaExprCXX.cpp lib/Sema/SemaInit.cpp test/CXX/class.access/class.protected/p1.cpp test/CXX/class.access/p4.cpp

Jonathan Sauer jonathan.sauer at gmx.de
Mon Apr 9 09:34:13 PDT 2012


Hello,

>>> When building or using libc++ with this change I get a number of errors such as:
>>> 
>>>> ../include/random:3412:5: error: attempt to use a deleted function
>>>>  seed_seq() {}
>>>>  ^
>>>> ../include/vector:484:7: note: destructor of 'vector<unsigned int, std::__1::allocator<unsigned int> >' is implicitly
>>>>    deleted because base class '__vector_base<unsigned int, std::__1::allocator<unsigned int> >' has an
>>>>    inaccessible destructor
>>>>  : private __vector_base<_Tp, _Allocator>
>>>>    ^
>> 
>> I can reproduce with TOT and filed PR12497: <http://llvm.org/bugs/show_bug.cgi?id=12497>
> 
> I ran into this, too - and updated the bug report.

I'm not sure if I'm telling anyone anything new here, but you can use "svn merge -r 154248:154247"
to locally revert the changes made in r154248. Afterwards, access rights work as they used to.


Jonathan





More information about the cfe-commits mailing list