Disable the new -Wunused-but-set-variable that was added in gcc 4.6.0 It produces more false positives than useful warnings. This can still be enabled using W=1
Showing the changes to scripts (1 of 2 files). Show all
Unified · Split
| @@ -66,6 +66,7 @@ warning-1 += -Wmissing-format-attribute · 65 unmodified lines | |||
| 66 | warning-1 += -Wmissing-prototypes | 66 | warning-1 += -Wmissing-prototypes |
| 67 | warning-1 += -Wold-style-definition | 67 | warning-1 += -Wold-style-definition |
| 68 | warning-1 += $(call cc-option, -Wmissing-include-dirs) | 68 | warning-1 += $(call cc-option, -Wmissing-include-dirs) |
| 69 | warning-1 += $(call cc-option, -Wunused-but-set-variable) | ||
| 69 | 70 | ||
| 70 | warning-2 := -Waggregate-return | 71 | warning-2 := -Waggregate-return |
| 71 | warning-2 += -Wcast-align | 72 | warning-2 += -Wcast-align |