[gdal-dev] cppcheck

Even Rouault even.rouault at spatialys.com
Wed Nov 23 06:28:50 PST 2016


On mercredi 23 novembre 2016 05:43:44 CET Kurt Schwehr wrote:
> Even,
> 
> Thank you for your work with getting cppcheck setup and fixing a huge
> number of warnings (and suppressing a large number of false positives)!!!

I encourage you as well to extend the tooling so as to check that all the cleanups you do do 
not regress. I guess you must have some ad-hoc scripts. If there were available, that would at 
least enable new developments to meet those standards. And if they don't pass on the 
whole code base, I guess it would be possible to run them on white-listed directories (or 
exclude black-listed directories)

QGIS has a scripts/prepare-commit.sh that handles mostly code formatting (reformatting it 
automatically), but something similar that would handle formatting and/or other checks 
could be useful.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20161123/c6b833f5/attachment.html>


More information about the gdal-dev mailing list