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