You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
590 B
22 lines
590 B
2 years ago
|
# 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
|