[PATCH 0/9] mtd-utils: various cleanups, enable compiler warnings

David Oberhollenzer david.oberhollenzer at sigma-star.at
Wed Jun 28 04:08:10 PDT 2017


Hello,


this patch series contains a number of cleanups for mtd-utils.

Apart from some minor cleanups, the first larger change in the series is
a restructuring of the dependency handling in the autoconf.ac file. The
main idea is to always have the configure script finish and _then_ print
a list of _all_ missing libraries for the current build configuration
instead of having to go back and forth between installing libraries/
changing external build scrips and rebuilding just to see what else is
missing.

The second larger change deals with compiler warnings. A number of
compiler warning flags are set if the compiler supports them. An m4
script has been borrowed from coreutils (via util-linux) to check if
the compiler supports a specific warning flag.

The rest of the patch set attempts to deal with the resulting fallout.

For now, -Wshadow and -Wsign-compare are explicitly disabled. Dealing
with those would require a number of non-trivial code changes that
should probably be handled as a separate patch set.


David




More information about the linux-mtd mailing list