diff options
| author | Paul Eggert | 2017-05-23 21:18:35 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2017-05-23 21:18:35 +0200 |
| commit | cd9c7a0617b58169b5788ff30de97afdbac5e882 (patch) | |
| tree | 98c42c0a0d4dbfb11b37ff0f85add7dd3b662708 | |
| parent | 63d0a3c63f833faad7a04fb4bf384d55ae6ae8d1 (diff) | |
| download | emacs-cd9c7a0617b58169b5788ff30de97afdbac5e882.tar.gz emacs-cd9c7a0617b58169b5788ff30de97afdbac5e882.zip | |
Don't warn about missing brances on macOS
On macOS, removing -Wmissing-braces is not enough; the warning has to
be disabled explicitly.
| -rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 12e44d949c5..6d23b5d214e 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -986,6 +986,7 @@ AS_IF([test $gl_gcc_warnings = no], | |||
| 986 | 986 | ||
| 987 | # More things that clang is unduly picky about. | 987 | # More things that clang is unduly picky about. |
| 988 | if test $emacs_cv_clang = yes; then | 988 | if test $emacs_cv_clang = yes; then |
| 989 | gl_WARN_ADD([-Wno-missing-braces]) | ||
| 989 | gl_WARN_ADD([-Wno-tautological-compare]) | 990 | gl_WARN_ADD([-Wno-tautological-compare]) |
| 990 | gl_WARN_ADD([-Wno-tautological-constant-out-of-range-compare]) | 991 | gl_WARN_ADD([-Wno-tautological-constant-out-of-range-compare]) |
| 991 | fi | 992 | fi |