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

Renato Golin renato.golin at linaro.org
Mon Nov 11 23:36:45 PST 2013


On 12 November 2013 04:48, Tim Northover <t.p.northover at gmail.com> wrote:

> > 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.
>
> Yes we can. Somewhere there's a line between unsupported features and
> buggy compilers. That's not automatically at "whatever 4.7.0 compiles
> correctly". Otherwise we'd have to disallow any statement.
>

Exactly!

I don't think we should be relying on a specific release of a specific
compiler for feature support. We'd be stating that a specific compiler
(GCC) is the source of truth and all good, which is at least misleading,
and can lead to headaches in the future.

--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131112/f3f9c8de/attachment.html>


More information about the llvm-dev mailing list