Changes between Version 1 and Version 2 of CodeQuality
- Timestamp:
- Apr 28, 2013, 11:54:48 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodeQuality
v1 v2 14 14 15 15 * `-Wstrict-overflow=5` - some discussion [http://www.airs.com/blog/archives/120 here]. Only gives useful output in optimised builds (`CONFIG=Release make`). Warns about cases where the compiler optimises based on assumptions that signed overflow never happens; our code should be certain those assumptions will not be violated. (There are lots of false positives so the warning isn't on by default). 16 17 === cppcheck === 18 19 * free, fast and simple to test, no false positive, from bugs, memory and optimization checks, really mandatory to run on all cpp source [http://cppcheck.sourceforge.net/ cppcheck]