Some other flags for disabling dependencies reporting errors
The code has been changed to allow the codebase to actually compile with warnings as errors. Some potentially nasty bugs were caught, including the fact that connection::handler had a non-virtual dtor.
Note: On mingw Werror is disabled, because the 3rdparty headers emit warnings
This adds the following flags:
gcc/clang
-Werror
-Wall
-Wpedantic
-Wextra
msvc
/W4
(basically-Wall
)/WX
(warnings as errors)The code has been changed to allow the codebase to actually compile with warnings as errors. Some potentially nasty bugs were caught, including the fact that
connection::handler
had a non-virtual dtor.Note: On mingw
Werror
is disabled, because the 3rdparty headers emit warningsCloses: #62