[Qgis-developer] Requiring c++17 minimum

Nyall Dawson nyall.dawson at gmail.com
Mon Mar 6 15:35:46 PST 2017


On 7 March 2017 at 09:32, Nathan Woodrow <madmanwoo at gmail.com> wrote:
> As a Mircosoft shill, I'm a super -1 on this.  How will I make my money from
> Microsoft for making QGIS on Windows better?
>
> :)

I dunno. But some guy blocked me on twitter a couple of weeks ago
because QGIS is available on Windows. That hurt my feelings.

Nyall



>
> On Tue, Mar 7, 2017 at 9:07 AM, <gordon at shieldaig.com> wrote:
>>
>> 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
>>
>> _______________________________________________
>> 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
>
>
>
> _______________________________________________
> 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