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

Howard Butler howard at hobu.co
Mon Apr 3 14:48:04 PDT 2017


> 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.

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

Howard



More information about the geos-devel mailing list