<div dir="ltr">Even responded while I was trying to write up something, so I'm going to stop writing and send :)<div><br></div><div><div>Howard,</div><div><br></div><div>Thanks for the thoughts. I believe we are thinking along the same lines.</div><div><br></div><div>All,</div><div><br></div><div>After time for comments, I plan to write up an RFC for the initial strategy that is explicit about assumptions.</div><div><br></div><div>Please correct me if you think I'm wrong/missing anything. Especially when it comes to non-linux / mac builds.</div><div><br></div><div>Useful references:</div><div><br></div><div><a href="http://en.cppreference.com/w/cpp/compiler_support">http://en.cppreference.com/w/cpp/compiler_support</a><br></div><div><a href="https://en.wikipedia.org/wiki/List_of_compilers#C.2B.2B_compilers">https://en.wikipedia.org/wiki/List_of_compilers#C.2B.2B_compilers</a><br></div><div><br></div><div>Current explicit supported compilers:</div><div><br></div><div>- MS VC9</div><div>- MS VC12</div><div>- MS VC13</div><div>- MinGW 32 (this is old)</div><div>- MinGW 64 (newer)</div><div>- clang >= 3.0?</div><div>- gcc >= 4.6.3. Even said 4.4</div><div><br></div><div>Best effort supported compilers:</div><div><br></div><div>- SunPro/Oracle C++ >= ?</div><div>- Intel >= ?</div><div><br></div><div>My guess at our new situaltion</div><div><br></div><div>- MS >= VC13 (I am confused by their version numbers)</div><div>- MinGW 32 (newer)</div><div>- MinGW 64 (newer)</div><div>- clang >= 3.3</div><div>- gcc >= 4.8</div><div><br></div><div>Best effort supported compilers:</div><div><br></div><div>- SunPro >= ?</div><div>- Intel >= ?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 5, 2017 at 9:26 AM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@spatialys.com" target="_blank">even.rouault@spatialys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div style="font-family:'monospace';font-size:9pt;font-weight:400;font-style:normal"><span class="">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> What is the list of compilers that GDAL actively and accidentally supports?</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
</span><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Currently, at least:</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">GCC >= 4.4 (actually must be 4.1 since this is what ancient mingw uses)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">clang >= 3.something (3.0 probably)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">VS >= 2008</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">ICC 15 probably</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">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</p><span class="">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> How will that be impacted by a C++11 requirement?</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
</span><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">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.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">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</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Even</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">-- </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Spatialys - Geospatial professional services</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a></p></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">--<div><a href="http://schwehr.org" target="_blank">http://schwehr.org</a></div></div>
</div></div>