Don't warn about missing brances on macOS

On macOS, removing -Wmissing-braces is not enough; the warning has to
be disabled explicitly.
This commit is contained in:
Paul Eggert 2017-05-23 21:18:35 +02:00 committed by Philipp Stephani
parent 63d0a3c63f
commit cd9c7a0617

View file

@ -986,6 +986,7 @@ AS_IF([test $gl_gcc_warnings = no],
# More things that clang is unduly picky about.
if test $emacs_cv_clang = yes; then
gl_WARN_ADD([-Wno-missing-braces])
gl_WARN_ADD([-Wno-tautological-compare])
gl_WARN_ADD([-Wno-tautological-constant-out-of-range-compare])
fi