[cfe-dev] <initializer_list>

Nico Weber thakis at chromium.org
Mon Dec 24 15:13:59 PST 2012


Hi Dave,

On Mon, Dec 24, 2012 at 12:59 PM, Dave Yost <Dave at yost.com> wrote:

> Hurray for 3.2!
>
> We have to keep our 150,000 lines of C++ working on both clang and gcc, so
> feature parity is important to us.
>
> Any idea when <initializer_list> will be implemented?
>

<initializer_list> is a header that should be in your C++ standard library.
Clang is a C++ compiler, not a library.

On OS X, libstd++ (the C++ standard library that's shipped with gcc) is
frozen at version 4.2 and does not support newer headers. There is an
alternative C++ standard library called libc++ that you can use if you
target OS X 10.7 or newer.

On Linux, you can try using either libc++ or a current libstdc++, but the
latter need patches to compile with clang in c++11 mode (see the patches
linked from http://clang.llvm.org/cxx_status.html) while the former says
the linux port is "underway" (http://libcxx.llvm.org/).

Nico


>
> Also: it would be very helpful if there were a web page where one could
> follow important changes checked into the trunk.
>
> Spreadsheet attached.
>
> Thanks
>
> Dave
>
>
> _______________________________________________
> 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/20121224/19047b5e/attachment.html>


More information about the cfe-dev mailing list