Even responded while I was trying to write up something, so I'm going to stop writing and send :)
Howard, Thanks for the thoughts. I believe we are thinking along the same lines. All, After time for comments, I plan to write up an RFC for the initial strategy that is explicit about assumptions. Please correct me if you think I'm wrong/missing anything. Especially when it comes to non-linux / mac builds. Useful references: http://en.cppreference.com/w/cpp/compiler_support https://en.wikipedia.org/wiki/List_of_compilers#C.2B.2B_compilers Current explicit supported compilers: - MS VC9 - MS VC12 - MS VC13 - MinGW 32 (this is old) - MinGW 64 (newer) - clang >= 3.0? - gcc >= 4.6.3. Even said 4.4 Best effort supported compilers: - SunPro/Oracle C++ >= ? - Intel >= ? My guess at our new situaltion - MS >= VC13 (I am confused by their version numbers) - MinGW 32 (newer) - MinGW 64 (newer) - clang >= 3.3 - gcc >= 4.8 Best effort supported compilers: - SunPro >= ? - Intel >= ? On Thu, Jan 5, 2017 at 9:26 AM, Even Rouault <even.roua...@spatialys.com> wrote: > > > > > What is the list of compilers that GDAL actively and accidentally > supports? > > > > Currently, at least: > > GCC >= 4.4 (actually must be 4.1 since this is what ancient mingw uses) > > clang >= 3.something (3.0 probably) > > VS >= 2008 > > ICC 15 probably > > > > One aspect is to also consider the various analyzers used. I think > cppcheck has only partial C++11 support. I'd guess Coverity Scan should > have decent C++11 support but this is just a guess. CLang Static Analyzer > should likely work just fine with the C++11 supported by the underlying > clang compiler > > > > > How will that be impacted by a C++11 requirement? > > > > GCC 4.8 is needed for C++11 I think. There are folks using recent GDAL on > older distros like Ubuntu 12.04 (which ships with gcc 4.6). I guess they > could switch to adding a PPA with a more recent toolchain. > > For Visual Studio depends on the features we use. Would be good to have > VS2013 or even 2012. I'm CC'ing Jürgen Fischer to know if he has plans > regarding of the compiler version that will be used for OSGeo4W / QGIS 3.0 > > > > Even > > > > -- > > Spatialys - Geospatial professional services > > http://www.spatialys.com > -- -- http://schwehr.org
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev