[geos-devel] RFC 5: C++11 Compilation Mode

Mateusz Loskot mateusz at loskot.net
Mon Apr 3 15:47:48 PDT 2017


On 3 April 2017 at 23:48, Howard Butler <howard at hobu.co> wrote:
>> On Apr 3, 2017, at 3:55 PM, Mateusz Loskot <mateusz at loskot.net> wrote:
>>
>>> but I too would note that range-based for loops don't work in MSVC 2013.
>>
>> Hmm, I'm not sure it's clear to me - I've not noticed any problem there.
>> Range-based statement should work pretty well in VS2013, even in VS2012:
>> https://msdn.microsoft.com/en-us/library/jj203382(v=vs.120).aspx
>
> I'm sorry, I meant array initializers. There's a few gotchas with 2013 that were all cleaned up in 2015.

Right, I gotcha.

> It's reasonable in my mind to say GEOS only supports C++11 -compliant compilers from version X.xx going forward.

Yes, that's what I'm hoping to achieve w/ the proposal.

> GDAL is also starting to have this discussion more seriously, and it is a matter of time
> before some of the foundational libraries like GDAL and GEOS jump toward C++11.

Yes, indeed.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net


More information about the geos-devel mailing list