[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

Marshall Clow mclow.lists at gmail.com
Mon Apr 9 08:36:27 PDT 2012


On Apr 8, 2012, at 10:44 AM, Jonathan Sauer wrote:

> 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.
Then, I found your email and realized that I had added to the bug report the exact same code that you wrote in the quoted email.

Sorry for the duplication.

-- Marshall

Marshall Clow     Idio Software   <mailto:mclow.lists at gmail.com>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki





More information about the cfe-commits mailing list