Reduce -Wstrict-overflow= from 5 to 2 (#1872)

The signal-to-noise ratio of the higher warning level is very low
and the noise obscures things we should fix
This commit is contained in:
Dana Robinson
2022-07-11 11:26:03 -07:00
committed by GitHub
parent e269f90364
commit 63ce6839b5
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
-Wsync-nand
# warning flag added for GCC >= 4.5
-Wstrict-overflow=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).

View File

@@ -8,7 +8,7 @@
-Wsync-nand
# warning flag added for GCC >= 4.5
-Wstrict-overflow=5
-Wstrict-overflow=2
# warning flags added for GCC >= 4.6
-Wdouble-promotion