summaryrefslogtreecommitdiffstats
path: root/development/cppcheck/README
diff options
context:
space:
mode:
author Sean Donner <sean.donner@gmail.com>2010-05-13 00:57:51 +0200
committer Robby Workman <rworkman@slackbuilds.org>2010-05-13 00:57:51 +0200
commit651ceae03f2cf9aa965147f6274dcd193dcce64a (patch)
tree3fa36d39ae44a75a6657562bd457b6fcace49902 /development/cppcheck/README
parent70134d23096dc55c66ea9bb088aa19200be18e99 (diff)
downloadslackbuilds-651ceae03f2cf9aa965147f6274dcd193dcce64a.tar.gz
slackbuilds-651ceae03f2cf9aa965147f6274dcd193dcce64a.tar.xz
development/cppcheck: Added to 13.0 repository
Diffstat (limited to 'development/cppcheck/README')
-rw-r--r--development/cppcheck/README13
1 files changed, 13 insertions, 0 deletions
diff --git a/development/cppcheck/README b/development/cppcheck/README
new file mode 100644
index 0000000000..634a18c7a5
--- /dev/null
+++ b/development/cppcheck/README
@@ -0,0 +1,13 @@
+Cppcheck is an analysis tool for C/C++ code. Unlike C/C++ compilers and many
+other analysis tools, we don't detect syntax errors. Cppcheck only detects
+the types of bugs that the compilers normally fail to detect. The goal is to
+have no false positives.
+
+To supplement Cppcheck, it is recommended that you enable as many compiler
+warnings as possible. For the GCC compiler, take a look at
+http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html for a comprehensive
+list of warning options that GCC supports. At a minimum, it is recommended
+that you enable -Wall, -Wextra, and -pedantic
+
+If you do not want to install the manual pages, you can run the build script
+like this: MAKEMAN=no ./cppcheck.SlackBuild