<div dir="ltr">+1 for 2013. The feature set is worth it.<div><br></div><div>I expect that there will still be major incompatibilities around initializer lists, so I would avoid them unless you have MSVC or are OK with diagnosing the problem from a buildbot.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 19, 2014 at 11:12 AM, Renato Golin <span dir="ltr"><<a href="mailto:renato.golin@linaro.org" target="_blank">renato.golin@linaro.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I just broke a build by committing initializer list and a few other<br>
C++11 stuff on the LoopVectorizer... :/<br>
<br>
cheers,<br>
--renato<br>
<br>
PS: The lld Windows bot is 2011, so that surely needs upgrading anyway...<br>
<div class="HOEnZb"><div class="h5"><br>
On 19 August 2014 00:48, David Blaikie <<a href="mailto:dblaikie@gmail.com">dblaikie@gmail.com</a>> wrote:<br>
> For my money: variadic templates and some bug I hit when trying to use<br>
> forward_as_tuple.<br>
><br>
> On Aug 18, 2014 4:02 PM, "Aaron Ballman" <<a href="mailto:aaron@aaronballman.com">aaron@aaronballman.com</a>> wrote:<br>
>><br>
>> On Mon, Aug 18, 2014 at 6:54 PM, Chris Bieneman <<a href="mailto:beanz@apple.com">beanz@apple.com</a>> wrote:<br>
>> > I’d like to propose raising the minimum required compiler for the LLVM &<br>
>> > Clang trunks for Visual Studio to MSVC 2013.<br>
>> ><br>
>> > Doing this will allow us to take advantage of a bunch of C++11 features<br>
>> > that are not supported by MSVC 2012. According to MSDN<br>
>> > (<a href="http://msdn.microsoft.com/en-us/library/hh567368.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/hh567368.aspx</a>) the list is:<br>
>> ><br>
>> > * Non-static data member initializers<br>
>> > * Variadic templates<br>
>> > * Initializer lists<br>
>> > * Default template arguments for function templates<br>
>> > * Expression SFINAE<br>
>> > * Alias templates<br>
>> > * Delegating constructors<br>
>> > * Explicit conversion operators<br>
>> > * Raw string literals<br>
>> > * Defaulted and deleted functions<br>
>> ><br>
>> > Questions, comments, concerns, general feedback?<br>
>><br>
>> We shifted the minimum MSVC version to 2012 in January of this year,<br>
>> and have run into only a few issues where C++11 features exist in MSVC<br>
>> 2013 but not MSVC 2012. So I'm wondering what problem this solves in<br>
>> practice for our code base?<br>
>><br>
>> Personally, I use MSVC 2013 instead of 2012. But I would hesitate to<br>
>> switch to 2013 as the minimum supported version just yet. It's been<br>
>> out for less than two years and until "14" drops, it is the newest<br>
>> version of the compiler. When we made the switch, the goal was to<br>
>> support only the last two versions of MSVC, and I don't see any strong<br>
>> evidence to support expediting that schedule. I think this is a great<br>
>> plan for when "14" is officially released.<br>
>><br>
>> ~Aaron<br>
>><br>
>> _______________________________________________<br>
>> LLVM Developers mailing list<br>
>> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
><br>
><br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
><br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</div></div></blockquote></div><br></div>