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

David Blaikie dblaikie at gmail.com
Tue Jun 3 14:21:56 PDT 2014


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

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



More information about the cfe-dev mailing list