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

Tom Stellard tom at stellard.net
Mon Nov 11 20:37:43 PST 2013


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.

-Tom



More information about the llvm-dev mailing list