Enable as many warnings as possible #83
Labels
build issue
The issue describes the problem with the build
code health
Improve code readability, simplify maintenance and so on
As a header-only library,
tntcxx
have to meet high code quality standards.In any serious project,
-Werror
compilation flag is set, which causes any warning intntcxx
to break build of a project that uses it, and developers have to disable this warning for their project. That is why we should enable as many warnings as possible.Recommended by Red Hat compiler flags can be found here. Here is a selection of the most popular options from the author. We also can look at other open-source projects. For example,
oatpp
enables all the available warnings (or almost all).Generalization of #80
The text was updated successfully, but these errors were encountered: