<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 12 Aug 2019, at 09:45, Allan Sandfeld Jensen <<a href="mailto:kde@carewolf.com" class="">kde@carewolf.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">On Monday, 12 August 2019 09:17:58 CEST Lars Knoll wrote:<br class="">
<blockquote type="cite" class="">Hi,<br class="">
<br class="">
As mentioned in my blog, it would be good to move forward with the C++<br class="">
version we use for Qt 6 and ideally move it to C++17. That implies that we<br class="">
need to drop some older compilers for Qt 6. As 5.15 is going to be an LTS<br class="">
release, I don’t think this is going to be a huge problem.<br class="">
</blockquote>
<br class="">
<blockquote type="cite" class="">Here’s the baseline I would like to propose:<br class="">
<br class="">
VC++ 2019<br class="">
GCC 8<br class="">
Clang 6<br class="">
Apple Clang 10.0<br class="">
<br class="">
</blockquote>
Why not the latest for all the compilers, like gcc 9 and clang 8? I assumed we <br class="">
would use the 5.15 LTS to justify requiring the latest available compiler on <br class="">
all platforms.<br class="">
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>I used the minimal version that seemed to be giving us decent C++17 support (according to <a href="https://en.cppreference.com/w/cpp/compiler_support" class="">https://en.cppreference.com/w/cpp/compiler_support</a>). </div>
<div><br class="">
</div>
<div>I’d personally be favour of using newer version of gcc/clang, but I’m not sure we gain a lot with it, as Apple clang is then probably the limiting factor. But we could upgrade that to Apple Clang 11 as well.</div>
</div>
<div><br class="">
</div>
<div>So alternative proposal:</div>
<div><br class="">
</div>
<div>VC++ 2019</div>
<div>GCC 9</div>
<div>Clang 8</div>
<div>Apple Clang 11</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">
<div class=""><br class="">
Especially clang 6 is a bit old. </div>
</div>
</blockquote>
<div><br class="">
</div>
<div>Clang 6 is just a bit over a year old... :)</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div class="">I know for msvc-clang we already pretty much <br class="">
assume clang-cl 8. But we have not automated testing of non-apple clang, so it <br class="">
often breaks due to extra warnings or genuine clang bugs.<br class="">
</div>
</div>
</blockquote>
<div><br class="">
</div>
Yes. It would be good to have a build using standard clang in CI in the future. But that’s a separate topic :)</div>
<div><br class="">
</div>
<div>Cheers,</div>
<div>Lars</div>
<div><br class="">
</div>
<div><br class="">
</div>
<div><br class="">
</div>
</body>
</html>