| 1 |
# developer warning flags added for GCC >= 4.5 |
| 2 |
# |
| 3 |
# -Wjump-misses-init makes lots of noise for a questionable benefit. |
| 4 |
# Can jumping over an initialization in C cause any harm, if |
| 5 |
# the variable is never *used* before it has been initialized? |
| 6 |
# |
| 7 |
-Wjump-misses-init |
| 8 |
|
| 9 |
# developer warning flag added for GCC >= 4.6 |
| 10 |
-Wsuggest-attribute=const |
| 11 |
|
| 12 |
# developer warning flags added for GCC >= 4.7 |
| 13 |
-Wsuggest-attribute=noreturn |
| 14 |
-Wsuggest-attribute=pure |
| 15 |
# |
| 16 |
# It's not clear that -Wvector-operation-performance warnings are |
| 17 |
# actionable, so they are demoted to "developer" warnings. |
| 18 |
# |
| 19 |
-Wvector-operation-performance |
| 20 |
|
| 21 |
# developer warning flag added for GCC >= 4.8 |
| 22 |
-Wsuggest-attribute=format |