| 1 |
# Note that some of the flags listed here really should be developer |
| 2 |
# flags (listed in separate files, gnu-warnings-developer*) but we put |
| 3 |
# them here because they are not raised by the current code and we'd like to |
| 4 |
# know if they do start showing up. |
| 5 |
# |
| 6 |
# NOTE: Don't add -Wpadded here since we can't/won't fix the (many) |
| 7 |
# warnings that are emitted. If you need it, add it from the |
| 8 |
# environment variable at configure time. |
| 9 |
-Wall |
| 10 |
-Wcast-qual |
| 11 |
-Wconversion |
| 12 |
-Wextra |
| 13 |
-Wfloat-equal |
| 14 |
-Wformat=2 |
| 15 |
-Winit-self |
| 16 |
-Winvalid-pch |
| 17 |
-Wmissing-include-dirs |
| 18 |
-Wshadow |
| 19 |
-Wundef |
| 20 |
-Wwrite-strings |
| 21 |
-pedantic |
| 22 |
# NOTE: Due to the divergence in the C and C++, we're dropping support for |
| 23 |
# compiling the C library with a C++ compiler and dropping the -Wc++-compat |
| 24 |
# warning. |
| 25 |
# |
| 26 |
-Wno-c++-compat |