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:
parent
63d0a3c63f
commit
cd9c7a0617
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue