Open ltog opened 8 years ago
First of all: g++ (and clang++) has the option -Wall
but that doesn't enable all warnings...
clang++ has the option
-Weverything
which is supposed to really warn about everything. See http://clang.llvm.org/docs/UsersManual.html#diagnostics-enable-everything
To filter out some irrelevant warnings after using -Weverything
, we can append:
-Wno-c++98-compat -Wno-c++98-compat-pedantic
-Weverything
is ok, but provokes warnings from the GDAL library.
Some ideas to suppress those:
In #61 we have a case of an uninitialized variable. This was not reported by compilers.Maybe we can adjust the Makefile to get more warnings?