Hi Jürgen, Le 11/02/2015 14:18, Jürgen E. Fischer a écrit : > Hi Hugo, > > On Wed, 11. Feb 2015 at 14:04:56 +0100, Hugo Mercier wrote: >> What would be very good is to call static analyzers during the build/testing >> process (as an option). Has somebody experiences with such things ? CLang >> static analyzer ? > > We have used cppcheck - but not integrated into the build process. > There are also some good options for gcc (eg. -Weffc++).
Good to know. A CMake option with such compilation flags can be a first pass. Using another compiler (Clang) may also help to exhibit different wwarning messages. > > I didn't know clang's scan-build[1] before Even Rouault mentioned it on #qgis. > Maybe we could use that with travis. But it's not packaged in ubuntu and > apparently you have to build clang to get it. It's shipped with the clang-3.4 package on ubuntu (14.04 here). _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer