From 615366447ad6c1699d3356a6c4f2364243193566 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Thu, 5 Oct 2017 19:43:19 +0200 Subject: [PATCH] :wrench: removing -Weffc++ warnings --- Makefile | 1 - test/Makefile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ad54be10..4038f97e 100644 --- a/Makefile +++ b/Makefile @@ -112,7 +112,6 @@ pedantic_gcc: -Wdouble-promotion \ -Wduplicated-branches \ -Wduplicated-cond \ - -Weffc++ \ -Wformat-overflow=2 \ -Wformat-signedness \ -Wformat-truncation=2 \ diff --git a/test/Makefile b/test/Makefile index f4103ba9..a170acb9 100644 --- a/test/Makefile +++ b/test/Makefile @@ -3,7 +3,7 @@ ########################################################################## # additional flags -CXXFLAGS += -std=c++11 -Wall -Wextra -pedantic -Weffc++ -Wcast-align -Wcast-qual -Wno-ctor-dtor-privacy -Wdisabled-optimization -Wformat=2 -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-conversion -Wsign-promo -Wstrict-overflow=5 -Wswitch -Wundef -Wno-unused -Wnon-virtual-dtor -Wreorder -Wdeprecated -Wno-float-equal +CXXFLAGS += -std=c++11 -Wall -Wextra -pedantic -Wcast-align -Wcast-qual -Wno-ctor-dtor-privacy -Wdisabled-optimization -Wformat=2 -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-conversion -Wsign-promo -Wstrict-overflow=5 -Wswitch -Wundef -Wno-unused -Wnon-virtual-dtor -Wreorder -Wdeprecated -Wno-float-equal CPPFLAGS += -I ../src -I . -I thirdparty/catch -DCATCH_CONFIG_FAST_COMPILE SOURCES = src/unit.cpp \