Closed HDembinski closed 5 years ago
The following warnings flags will be supported:
-pedantic -Wextra -Wsign-compare -Wstrict-aliasing -fstrict-aliasing
-Wconversion and -Wsign-conversion
litter the numerical code with countless casts that obfuscate the code. I tried this and it added nothing useful.
Henry suggests to make histogram compile cleanly with
-Wconversion -Wsign-conversion
enabled. The only Boost libs which do that are unordered, container_hash, and gil. Out of these, only gil is a "high-level" library like histogram.Other warnings to possibly enable:
-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion -Wfloat-equal -Wshadow -Wcast-align