mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-24 15:25:00 +08:00
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:
parent
e269f90364
commit
63ce6839b5
@ -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).
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user