mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
Moves -Wstrict-overflow=5 to the developer warnings (#1878)
This commit is contained in:
parent
af014fa61c
commit
c62b026609
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user