<div dir="ltr">Andres,<div><br></div><div>Have you tried compiling GDAL 1.11 as C++11? I used GDAL 1.11 built as C++11 for quite a while before switching to GDAL 2.x. We aren't talking about changing the internal API for drivers. Or am I missing something?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 6, 2017 at 12:50 AM, Andrew C Aitchison <span dir="ltr"><<a href="mailto:andrew@aitchison.me.uk" target="_blank">andrew@aitchison.me.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, 23 Dec 2016, Kurt Schwehr wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I would like to continue the C++11 discussion over the next couple weeks<br>
while many people are on slower development cycles with a proposal:<br>
<br>
* Starting 2017-Mar-01, we switch GDAL trunk to require C++11 support from<br>
the compiler.<br>
* All prior branches would stick with their existing requirements for C++03<br>
support<br>
</blockquote></span>
... ...<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This would not be a free-for-all on C++11 features. I think we would want<br>
to just start with removing some of the macros and workarounds that are<br>
currently in the code base. Until we decide to go forward with other<br>
features, the main changes that would happen in C++ only code after this<br>
would be:<br>
<br>
- Change NULL to nullptr<br>
- Drop virtual when using the override keyword (this becomes a req with<br>
C++17)<br>
- CPL_OVERRIDE -> override<br>
- Remove HAVE_CXX11 #ifs<br>
- And maybe some other things I missed<br>
</blockquote>
<br></span>
Are there many people maintaining/developing *plugin* drivers for gdal<br>
- I know of the ECW plugins; are there any others ?<br>
<br>
I am working on a couple of private drivers for proprietary formats,<br>
and find it useful that I can use the same source to build plugins for GDAL 1.11 and 2.1.2.<br>
<br>
Would the changes to nullptr, CPL_OVERRIDE etc. make it harder to maintain plugin code for old and new versions of GDAL ?<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Andrew C Aitchison</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/gdal-dev</a></div></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>