Eli Bendersky
2013-Jan-11 18:56 UTC
[LLVMdev] Using C++'11 language features in LLVM itself
>> Does that seem reasonable - or at least acceptable - for everyone? > > > My only concern is the GCC version. If we bump up to 4.5 (which eliminates > the current crop of "enterprise" Linux distros on 4.4), why not set it at > 4.6, which is the default on reasonably current LTS distros like Ubuntu > 12.04? >I suppose this tradeoff can be evaluated by looking at the delta between 4.5 and 4.6 which is actually supported by MSVC 2010 and Clang 3.1 Eli
Chris Lattner
2013-Jan-11 19:01 UTC
[LLVMdev] Using C++'11 language features in LLVM itself
On Jan 11, 2013, at 10:56 AM, Eli Bendersky <eliben at google.com> wrote:>>> Does that seem reasonable - or at least acceptable - for everyone? >> >> >> My only concern is the GCC version. If we bump up to 4.5 (which eliminates >> the current crop of "enterprise" Linux distros on 4.4), why not set it at >> 4.6, which is the default on reasonably current LTS distros like Ubuntu >> 12.04?Sure, I don't have a strong opinion on the matter.> I suppose this tradeoff can be evaluated by looking at the delta > between 4.5 and 4.6 which is actually supported by MSVC 2010 and Clang > 3.1Makes perfect sense to me. -Chris
Eli Bendersky
2013-Jan-11 19:08 UTC
[LLVMdev] Using C++'11 language features in LLVM itself
>> I suppose this tradeoff can be evaluated by looking at the delta >> between 4.5 and 4.6 which is actually supported by MSVC 2010 and Clang >> 3.1 > > Makes perfect sense to me. > > -ChrisAccording to http://gcc.gnu.org/projects/cxx0x.html, these features are available from 4.6 (language features only): - Null pointer constant - Forward declarations for enums - Generalized constant expressions - Unrestricted unions - Range-based for - Defining move special member functions - Allowing move constructors to throw Eli
Reasonably Related Threads
- [LLVMdev] Using C++'11 language features in LLVM itself
- [LLVMdev] Using C++'11 language features in LLVM itself
- [LLVMdev] Using C++'11 language features in LLVM itself
- [LLVMdev] Using C++'11 language features in LLVM itself
- [LLVMdev] LLVM IR execution in JavaScript