[cfe-dev] Status of the libc++ debug mode

Marshall Clow mclow.lists at gmail.com
Tue Jun 3 21:58:04 PDT 2014


On Jun 3, 2014, at 2:21 PM, David Blaikie <dblaikie at gmail.com> wrote:

> My understanding is that this work was never completed and it's
> probably broken/incomplete.

That is correct.
It’s on my list of things to fix/implement, but it’s not something that I will get to anytime soon.

— Marshall

P.S.	This is the second question about _LIBCPP_DEBUG I’ve received in the last week, so I’ve updated http://libcxx.llvm.org/debug_mode.html with a note about that.



> 
> On Tue, Jun 3, 2014 at 11:46 AM, Christopher Jefferson
> <chris at bubblescope.net> wrote:
>> Hi,
>> 
>> Using the clang in xcode 5.1.1, I tried the following code:
>> 
>> #include <algorithm>
>> #include <vector>
>> 
>> void do_copy(std::vector<int>::iterator i)
>> { std::copy(i,i,i); }
>> 
>> With libc++'s debug mode (-D_LIBCPP_DEBUG). The result was a fairly
>> huge compile-time error.
>> 
>> This seems like a very simple test case to be broken, which suggests
>> to me that possibly I am using the test wrongly, or the debug mode is
>> non-functional.
>> 
>> What is the current status, and is the debug mode in use by anyone,
>> and maintained? I am happy to look at fixing this bug, but first I
>> wanted to check what the current status was.
>> 
>> Chris
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140603/36aa1322/attachment.html>


More information about the cfe-dev mailing list