diff options
| author | Paul Eggert | 2017-05-19 16:05:31 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-05-19 16:05:54 -0700 |
| commit | a5acb3701a7b4ab8b82aede308d28a47a383ae9c (patch) | |
| tree | 6deec7a2f86ec58a4692dc1407a7071e05ac2bcd | |
| parent | acd58c9198c08c3eb631a3f036b4f95073f7fe10 (diff) | |
| download | emacs-a5acb3701a7b4ab8b82aede308d28a47a383ae9c.tar.gz emacs-a5acb3701a7b4ab8b82aede308d28a47a383ae9c.zip | |
Port --enable-gcc-warnings to clang 3.9.1
* configure.ac (WERROR_CFLAGS): Omit -Wmissing-braces for Clang,
to shut off a false alarm. Problem reportd by Philipp Stephani in:
http://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00521.html
| -rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 03542a6b1c3..12e44d949c5 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -964,6 +964,7 @@ AS_IF([test $gl_gcc_warnings = no], | |||
| 964 | if test $emacs_cv_clang = yes; then | 964 | if test $emacs_cv_clang = yes; then |
| 965 | nw="$nw -Wcast-align" | 965 | nw="$nw -Wcast-align" |
| 966 | nw="$nw -Wdouble-promotion" | 966 | nw="$nw -Wdouble-promotion" |
| 967 | nw="$nw -Wmissing-braces" | ||
| 967 | fi | 968 | fi |
| 968 | 969 | ||
| 969 | # This causes too much noise in the MinGW build | 970 | # This causes too much noise in the MinGW build |