[LLVMdev] Using C++'11 language features in LLVM itself

Óscar Fuentes ofv at wanadoo.es
Tue Jan 8 16:50:21 PST 2013


<dag at cray.com> writes:

>> 4.6 is the official compiler on Ubuntu 12.04 (released 04/2012), which
>> is the latest Long Term Support release (which come out every 2 years,
>> with 3 years desktop support and 5 years server support), so I
>> wouldn't push farther than that on Linux for the time being.
>
> Does 4.6 work sufficiently for C++11?  I haven't used it in quite a
> while.

I've been using gcc 4.6 on Kubuntu 12.04 until 12.10 came out, and it
dealed with the features Chris mentioned without problem.

auto alone is a huge readability aid and is supported since gcc version
4.4.

On this table compiler support for C++11 features is shown with the
respective versions:

http://wiki.apache.org/stdcxx/C%2B%2B0xCompilerSupport




More information about the llvm-dev mailing list