| 1 |
-Warray-bounds=2 |
| 2 |
-Wc99-c11-compat |
| 3 |
-Wincompatible-pointer-types |
| 4 |
-Wint-conversion |
| 5 |
# |
| 6 |
# In GCC 4.4.7, the compiler gripes about shadowed global |
| 7 |
# declarations when a local variable uses the name of a |
| 8 |
# function that's in a system header file. For some reason, |
| 9 |
# later versions of GCC (e.g., 5.2.0) don't complain about |
| 10 |
# the shadowed globals. Maybe later versions are less fussy? |
| 11 |
# Anyway, the shadowing seems to be harmless, and GCC 4.4.7 |
| 12 |
# is not a supported compiler, so let us promote shadowed globals |
| 13 |
# warnings to errors only for GCC 5 and later. |
| 14 |
# |
| 15 |
-Wshadow |