[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 0778129 2/2: Disable clang warnings about mis
From: |
Vadim Zeitlin |
Subject: |
[lmi-commits] [lmi] master 0778129 2/2: Disable clang warnings about mismatched struct/class |
Date: |
Mon, 5 Dec 2016 14:58:52 +0000 (UTC) |
branch: master
commit 07781293fd7cbd4521312bc9cc8448236e041351
Author: Vadim Zeitlin <address@hidden>
Commit: Vadim Zeitlin <address@hidden>
Disable clang warnings about mismatched struct/class
There are too many occurrences of this warning, especially in the tests
code,
so disable it to make it possible to use "make check" with this compiler.
---
configure.ac | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 799b6bd..e00fbe8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -556,7 +556,8 @@ fi
if test "x$GXX" == "xyes"; then
if test "$CLANG" = "yes"; then
cxx_warnings_flags="$cxx_warnings_flags \
- -Wno-inconsistent-missing-override"
+ -Wno-inconsistent-missing-override \
+ -Wno-mismatched-tags"
else
cxx_warnings_flags="$cxx_warnings_flags \
-Wctor-dtor-privacy \