Changes between Version 2 and Version 3 of CodeQuality
- Timestamp:
- May 22, 2013, 8:02:12 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodeQuality
v2 v3 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 16 17 === cppcheck ===17 === Cppcheck === 18 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]19 * Free C/C++ static analysis tool; looks for memory leaks, unitialized variables, etc. Windows binary is available, http://cppcheck.sourceforge.net/