mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
22 lines
590 B
Groff
22 lines
590 B
Groff
# 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
|
|
|
|
# developer warning flags added for GCC >= 4.7
|
|
-Wsuggest-attribute=noreturn
|
|
-Wsuggest-attribute=pure
|
|
#
|
|
# It's not clear that -Wvector-operation-performance warnings are
|
|
# actionable, so they are demoted to "developer" warnings.
|
|
#
|
|
-Wvector-operation-performance
|
|
|
|
# developer warning flag added for GCC >= 4.8
|
|
-Wsuggest-attribute=format
|