[Qgis-developer] Requiring c++17 minimum

G. Allegri giohappy at gmail.com
Mon Mar 6 14:22:46 PST 2017


Hi Nyall,
it's not the 1st of April right?
In all seriousness are you really going to push such a strong requirement?
What do you mean with "we lose the Windows builds"?!

Giovanni

2017-03-06 23:00 GMT+01:00 Nyall Dawson <nyall.dawson at gmail.com>:

> Hi all,
>
> I read on phoronix this morning that c++17 is nearly ready. I think
> it's time we made this the minimum build dependency for QGIS (3.0 and
> 2.18.5, and maybe 2.14 (but not sure about 2.14 since it's the LTS -
> can someone file a QEP?)).
>
> Advantages:
> - has some neat stuff like parallel algorithms
> - can use std::variant instead of qvariant and std::optional instead
> of QgsOptional
> - 17 is bigger than 11
>
> Disadvantages:
> - I think we lose the Windows builds. That's a shame, but we need to
> move forward.
> - OSX users will need to build their own version of clang/llvm from
> git. That's ok - they are used to things that "just work" so I think
> they'll quickly adapt to this process.
> - Linux users will need to update to the next beta version of their
> distro. This is just a short-term inconvenience and I'm pretty sure
> no-one will lose productivity because of it.
>
> I'm certain this is the way forward, so I'll push a change later today
> requiring this.
>
> Nyall
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170306/638f32f9/attachment.html>


More information about the Qgis-developer mailing list