Moves -Wstrict-overflow=5 to the developer warnings (#1878)

This commit is contained in:
Dana Robinson
2022-07-11 18:25:57 -07:00
committed by GitHub
parent af014fa61c
commit c62b026609
6 changed files with 18 additions and 8 deletions
-3
View File
@@ -7,9 +7,6 @@
-Wpacked-bitfield-compat
-Wsync-nand
# warning flag added for GCC >= 4.5
-Wstrict-overflow=2
# This warning can only be truly addressed using the gcc extension of
# using D to indicate doubles (e.g., 1.23D).
-Wno-unsuffixed-float-constants
-3
View File
@@ -7,9 +7,6 @@
-Wpacked-bitfield-compat
-Wsync-nand
# warning flag added for GCC >= 4.5
-Wstrict-overflow=2
# warning flags added for GCC >= 4.6
-Wdouble-promotion
-Wtrampolines
+6 -1
View File
@@ -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
+7
View File
@@ -6,6 +6,13 @@
#
-Wjump-misses-init
# 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
+3
View File
@@ -1,3 +1,6 @@
# no-developer warning flag added for GCC >= 4.5
-Wstrict-overflow=2
# no-developer warning flag added for GCC >= 4.6
-Wno-suggest-attribute=const
+2 -1
View File
@@ -1,5 +1,6 @@
# no-developer warning flag added for GCC >= 4.5
# no-developer warning flags added for GCC >= 4.5
-Wno-jump-misses-init
-Wstrict-overflow=2
# no-developer warning flag added for GCC >= 4.6
-Wno-suggest-attribute=const