[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
Tue Nov 12 08:09:40 PST 2013
On Mon, Nov 11, 2013 at 08:45:48PM -0800, Chris Lattner wrote:
>
> 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.
>
I think this would be a good idea.
-Tom
More information about the llvm-dev
mailing list