summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings/cxx-developer-4.8
diff options
context:
space:
mode:
Diffstat (limited to 'config/gnu-warnings/cxx-developer-4.8')
-rw-r--r--config/gnu-warnings/cxx-developer-4.87
1 files changed, 6 insertions, 1 deletions
diff --git a/config/gnu-warnings/cxx-developer-4.8 b/config/gnu-warnings/cxx-developer-4.8
index e0d975f..f5fbdad 100644
--- a/config/gnu-warnings/cxx-developer-4.8
+++ b/config/gnu-warnings/cxx-developer-4.8
@@ -1,5 +1,10 @@
-# developer warning flags added for GCC >= 4.5
+# developer warning flag added for GCC >= 4.5
#
+# strict-overflow level 5 catches a LOT of false positives, but is useful
+# for detecting overflow conditions.
+#
+-Wstrict-overflow=5
+
# developer warning flag added for GCC >= 4.6
-Wsuggest-attribute=const