[Qgis-developer] Requiring c++17 minimum
gordon at shieldaig.com
gordon at shieldaig.com
Mon Mar 6 15:07:53 PST 2017
Isn't it possible that g++ will also run on Windows with c++17 support
or that MSVC will have the features too, or shortly will? Why eliminate
anyone?
Gordon
On 2017-03-06 17:00, Nyall Dawson wrote:
> 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
More information about the Qgis-developer
mailing list