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

Joshua Cranmer 🐧 Pidgeot18 at gmail.com
Sun Oct 27 13:48:01 PDT 2013


On 10/27/2013 2:07 PM, Óscar Fuentes wrote:
> Chris Lattner <clattner at apple.com> writes:
>
>>> One short term caveat: Windows is special.
> s/Windows/Visual Studio.
>
> MinGW has the latest and greatest gcc.
Sometimes, MSVC works better than gcc. Mozilla is attempting to switch 
to char16_t and we have discovered that this requires making life either 
moderately painful or extremely painful for MingW. (Admittedly, this is 
an extreme case, but it goes to show you that you need to also take into 
account the interaction between platform headers and compiler support)
> IIRC the only significant difference among VS 2012 and VS 2010 is range
> for loops.
enum class, override/final keywords. I have a nice chart of when things 
were added to major compilers at 
<https://developer.mozilla.org/en-US/docs/Using_CXX_in_Mozilla_code>.

-- 
Joshua Cranmer
Thunderbird and DXR developer
Source code archæologist




More information about the cfe-dev mailing list