Blame SOURCES/0508-fix-compilation-after-commit-382877acc6c029e59e359a0.patch

17b0f1
From 4d5e724a78803ed18033f04e7ffec6c8ea3bc922 Mon Sep 17 00:00:00 2001
17b0f1
From: Jan Synacek <jsynacek@redhat.com>
17b0f1
Date: Thu, 7 Sep 2017 14:37:06 +0200
17b0f1
Subject: [PATCH] fix compilation after commit
17b0f1
 382877acc6c029e59e359a076d203ca03b4b9e9e
17b0f1
17b0f1
It turns out that explicit #warning macros work as explicit errors with -Werror.
17b0f1
17b0f1
Related: #1447937
17b0f1
---
17b0f1
 configure.ac | 2 +-
17b0f1
 1 file changed, 1 insertion(+), 1 deletion(-)
17b0f1
17b0f1
diff --git a/configure.ac b/configure.ac
17b0f1
index def9fe5ce7..ee147e28eb 100644
17b0f1
--- a/configure.ac
17b0f1
+++ b/configure.ac
17b0f1
@@ -188,7 +188,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
17b0f1
         -Wno-missing-field-initializers \
17b0f1
         -Wno-unused-result \
17b0f1
         -Werror \
17b0f1
-        -Wno-error=maybe-uninitialized \
17b0f1
+        -Wno-error=maybe-uninitialized -Wno-error=cpp \
17b0f1
         -Wdate-time \
17b0f1
         -Wnested-externs \
17b0f1
         -ffast-math \