<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 2, 2016 at 10:07 AM, Pete Cooper via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I haven't been following C++14 closely, but from hallway conversations at work it seems like 17 is the bigger win in terms of features.<br>
<br>
Is it worth waiting for 17 instead? Or, as we will only get a subset of 14 features anyway, just instead take a subset of 17 features?<br>
<br>
My only worry with 14 is that it's always going to be code churn in terms of using the new features. If they are worth it then no problem, but we should make sure they are. I'd prefer we have the update bots and code churn once instead of twice in the near future.<br>
<br>
Finally, I think we have clang 3.1 as the min version. Anyone know what that minimum will move to for the 14 support needed? I don't think it's as much of an issue as most distros are gcc based, but still good to know.<br>
<br>
Cheers<br>
Pete<br>
<br>
Sent from my iPhone<br>
<br></blockquote><div><br><br><br></div><div>I am compiling a large number of packages with their make files .<br><br></div><div>One important problem is the missing features from compilers .<br><br></div><div>For example : A program is using C++14 which is compilable with GCC . When it is tried to be compiled with CLang , it is failing because CLang does not have C++14 features .<br><br></div><div>This means , if C++14 is skipped from the CLang compiler , a lot of packages will not be compilable with CLang .<br><br></div><div>Then a more easy way to compile a large number of packages , a more convenient compiler will be GCC and Clang will be eliminated naturally .<br><br><br></div><div>My opinion is that during decision of what to include or exclude may make it necessary to consider coverability of possible compilable ports/packages and what users can do for them .<br><br><br></div><div>Thank you very much .<br><br><br></div><div>Mehmet Erol Sanliturk<br><br><br> <br></div><div><br><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> On Oct 2, 2016, at 9:49 AM, C Bergström via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br>
><br>
> On Mon, Oct 3, 2016 at 12:37 AM, Zachary Turner via llvm-dev<br>
> <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br>
>><br>
>><br>
>> On Sat, Oct 1, 2016 at 11:46 PM Joerg Sonnenberger via llvm-dev<br>
>> <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br>
>>><br>
>>> On Sun, Oct 02, 2016 at 05:33:40AM +0000, Zachary Turner via llvm-dev<br>
>>> wrote:<br>
>>>> While GCC doesn't claim to "fully" support C++14 until 5.2 (which is<br>
>>>> only<br>
>>>> about 1 year old), you can get all of the above features with GCC 4.9<br>
>>><br>
>>> I do care quite a bit about GCC 4.8 support, since that's what is<br>
>>> shipped with NetBSD 7.<br>
>>><br>
>>>> One potentially added benefit of this is that GCC supports <regex> in<br>
>>>> 4.9.<br>
>>>> This might allow us to kill of llvm::Regex in favor of standardizing on<br>
>>>> std::regex, as GCC is currently the only supported compiler without a<br>
>>>> regex<br>
>>>> implementation.<br>
>>><br>
>>> If that is the only argument, we should be able to reuse the libc++<br>
>>> implementation without too much trouble?<br>
>><br>
>><br>
>> That wasn't even the main argument :)  The main argument was the ability to<br>
>> use C++14 in the upstream.  I suspect that we won't want to be tied to C++11<br>
>> indefinitely though.  LLVM already has a section called "Getting a modern<br>
>> host C++ toolchain" for distros with older GCC's.  In theory this could just<br>
>> be bumped from "older than GCC 4.7" to "older than GCC 4.9".  I admit I<br>
>> don't know much (i.e. anything) about NetBSD.  But a quick look at the<br>
>> release history says that even NetBSD 8 (which isn't even stable yet), is<br>
>> still only going to have GCC 4.8.  So if we're going to be held back by<br>
>> this, we're looking at 2-4 years before we can use C++14 upstream.  Just<br>
>> food for thought.<br>
><br>
> Jörg, other than just time and energy - what's the (big?) technical<br>
> challenge or bug list which prevents NetBSD from doing something<br>
> radical like going to a really modern version of gcc? (I realize<br>
> NetBSD tends to be very conservative, which isn't a bad thing) I've<br>
> never had access to NetBSD 1st hand, but is very modern gcc available<br>
> in "ports"?<br>
> ______________________________<wbr>_________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</blockquote></div><br></div></div>