<div dir="ltr">Hello, the warp tutorial  needs at least inclusion of "cpl_conv.h" for CPLMalloc to work. <div><br></div><div><a href="https://gdal.org/tutorials/warp_tut.html">https://gdal.org/tutorials/warp_tut.html</a><br><div><div><br></div><div>But, I'd like to ask why it uses the style of the C examples (as per the Raster API tutorial <a href="https://gdal.org/tutorials/raster_api_tut.html">https://gdal.org/tutorials/raster_api_tut.html</a>) rather than the C++ - i.e. it uses 'GDALDatasetH hSrcDS' declarations rather than 'GDALDataset *poDataset', and all the 'GDAL<Functions>' rather than '->' pointer syntax.</div><div><br></div><div>Is that recommended, or is it just old style in this tutorial (because the apps were originally C)? </div><div><br></div><div>(I still get rather stuck on some of these issues, my C++ is rudimentary - certainly I'm keen to contribute to docs and more once I understand better). </div><div><br></div><div>Thanks a lot. </div><div><br></div><div>Best, Mike</div><div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Michael Sumner<br>Software and Database Engineer<br>Australian Antarctic Division<br>Hobart, Australia<br>e-mail: <a href="mailto:mdsumner@gmail.com" target="_blank">mdsumner@gmail.com</a></div></div></div></div>