[cfe-dev] libc++ supporting older compilers

Craig, Ben via cfe-dev cfe-dev at lists.llvm.org
Fri Dec 18 06:30:26 PST 2015


This isn't exactly the question that is being asked, but why GCC 4.7?  
Is it a particular feature that it provides, or is it important for 
other reasons?

When talking about GCC versions, I like to look at the version bundled 
with various Linux distributions.
Ubuntu 12.04 LTS (precise), released Apr-26-2012: GCC 4.6.3
Ubuntu 14.04 LTS (trusty), released Apr-17-2014: GCC 4.8.2
RHEL 6, released Nov-10-2010: GCC 4.4.7
RHEL 7, released Jun-10-2014: GCC 4.8.3

On 12/17/2015 8:35 PM, Marshall Clow via cfe-dev wrote:
> On http://libcxx.llvm.org/docs/#platform-and-compiler-support, we say:
>
>     The following minimum compiler versions are strongly recommended.
>
>     * Clang 3.5 and above
>     * GCC 4.7 and above.
>
>     Anything older may work.
>
>
> We're having more and more trouble supporting pre-4.7 versions of gcc, 
> especially in C++03 mode.
>
> Much of the early gcc support was driven by the fact that Apple was 
> never going to move past gcc 4.2.1, and the necessity of supporting 
> that compiler - but that ship has sailed.
>
> I'd like to officially drop support for those compilers.
>
> Opinions?
>
> -- Marshall
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20151218/7bffe097/attachment.html>


More information about the cfe-dev mailing list