[cfe-dev] [LLVMdev] RFC: A proposal to move toward using C++11 features in LLVM & Clang / bounding support for old host compilers

Chris Lattner clattner at apple.com
Mon Nov 11 20:45:48 PST 2013


On Nov 11, 2013, at 8:37 PM, Tom Stellard <tom at stellard.net> wrote:

> On Mon, Nov 11, 2013 at 06:32:17PM -0800, Tim Northover wrote:
>>> I think that if we are committed to supporting gcc 4.7.x in LLVM, then
>>> we need to be prepared to not use c++11 features that may be broken in
>>> earlier 4.7.x releases.
>> 
>> We've got precedent for "broken compilers" documentation. Dodgy
>> versions of 4.7.x could easily come under that heading (depending on
>> how widely deployed they actually are: only time will tell).
>> 
> 
> My point is that we can't tell users we support 4.7.x and then expect
> them to just change their compiler if someone adds a c++11 feature that
> is broken on whatever 4.7.x version of gcc they have chosen.
> 
> If we say we support 4.7.x, then I don't think we should use c++11
> features that aren't supported and working on all 4.7.x versions.

Why not just explicitly say 4.7.1 and later?  Are there any buildbots that build with 4.7.1 yet?  If not, that should be a prerequisite to making the move.

-Chris



More information about the cfe-dev mailing list