From 4f9f1cf6d13ae9e9706af5837c3b91cd968239a4 Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Thu, 20 Oct 2011 14:43:05 +0200 Subject: [PATCH] Disable some warnings --- src/Makefile.am | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 5d7f6d03..9260414a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -22,7 +22,15 @@ test_gradient_method_SOURCES = \ TESTS= test-python test-gradient-method -AM_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter +# Some are for clang, others are for gcc +AM_CXXFLAGS = \ + -Wall \ + -Wextra \ + -Wno-unused-parameter \ + -Wno-tautological-compare \ + -Wno-c++11-compat \ + -Wno-unused-variable \ + -Wno-type-limits AM_CPPFLAGS = \ $(DUNE_CPPFLAGS) \ -- GitLab