diff options
author | Eduardo Lima (Etrunko) <etrunko@redhat.com> | 2018-09-27 11:27:00 -0300 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2018-10-04 09:53:59 +0100 |
commit | 2adcc468d7b5605f7985bf6d154b0ffe2a481384 (patch) | |
tree | 14977c8749f735ce8b077d4e348607a4fb72777e | |
parent | d1e9df19f57619fe5f2bfc549e97809bbfe97a22 (diff) |
m4: Remove duplicate warnings settings
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r-- | m4/spice-compile-warnings.m4 | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/m4/spice-compile-warnings.m4 b/m4/spice-compile-warnings.m4 index 0ae3bd7..a7a6ff3 100644 --- a/m4/spice-compile-warnings.m4 +++ b/m4/spice-compile-warnings.m4 @@ -51,9 +51,6 @@ AC_DEFUN([SPICE_COMPILE_WARNINGS],[ dontwarn="$dontwarn -Wformat-nonliteral" dontwarn="$dontwarn -Wfloat-equal" dontwarn="$dontwarn -Wdeclaration-after-statement" - dontwarn="$dontwarn -Wcast-qual" - dontwarn="$dontwarn -Wconversion" - dontwarn="$dontwarn -Wsign-conversion" dontwarn="$dontwarn -Wpacked" dontwarn="$dontwarn -Wunused-macros" dontwarn="$dontwarn -Woverlength-strings" @@ -92,16 +89,10 @@ AC_DEFUN([SPICE_COMPILE_WARNINGS],[ # not count on func being called with data as its first parameter." gl_WARN_ADD([-Wno-cast-function-type]) - - # GNULIB expects this to be part of -Wc++-compat, but we turn # that one off, so we need to manually enable this again gl_WARN_ADD([-Wjump-misses-init]) - # GNULIB turns on -Wformat=2 which implies -Wformat-nonliteral, - # so we need to manually re-exclude it. - gl_WARN_ADD([-Wno-format-nonliteral]) - # This should be < 1024 really. pixman_utils is the blackspot # preventing lower usage gl_WARN_ADD([-Wframe-larger-than=9216]) |