Add note on containing warning disabling code.

This commit is contained in:
Jason Turner
2017-01-05 23:05:18 -07:00
committed by GitHub
parent 6445e67d83
commit 6e3f2d3f3c

View File

@@ -244,6 +244,8 @@ Both of these tools use coverage reporting to find new code execution paths and
If it is determined by team consensus that the compiler or analyzer is warning on something that is either incorrect or unavoidable, the team will disable the specific error to as localized part of the code as possible.
Be sure to reenable the warning after disabling it for a section of code. You do not want your disabled warnings to [leak into other code](http://www.forwardscattering.org/post/48).
## Testing
CMake, mentioned above, has a built in framework for executing tests. Make sure whatever build system you use has a way to execute tests built in.