Commit cd9c7a06 authored by Paul Eggert's avatar Paul Eggert Committed by Philipp Stephani

Don't warn about missing brances on macOS

On macOS, removing -Wmissing-braces is not enough; the warning has to
be disabled explicitly.
parent 63d0a3c6
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment