From a962153de681665bc56ce97ed5b835bb9acad34b Mon Sep 17 00:00:00 2001 From: "Marcus M. Darden" <mmdarden@umich.edu> Date: Fri, 7 Oct 2016 14:48:39 -0400 Subject: [PATCH] Added Wconversion. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 702e4b5..c2cfe0a 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,11 @@ # from doing messy things while making tarballs # * make clean now removes .dSYM directories from MacOS compilation # * make debug now builds EXECUTABLE_debug +# 1. make clean +# 2. make -rR +# 3. make debug +# Will generate both an executable and executable_debug properly +# * Added -Wconversion to prevent conversion oversights # Version 4 - 2015-05-03, Marcus M. Darden (mmdarden@umich.edu) # * Updated build rules for tests # Version 3.0.1 - 2015-01-22, Waleed Khan (wkhan@umich.edu) @@ -82,7 +87,7 @@ PARTIAL_SUBMITFILE = partialsubmit.tar.gz FULL_SUBMITFILE = fullsubmit.tar.gz #Default Flags -CXXFLAGS = -std=c++11 -Wall -Werror -Wextra -pedantic +CXXFLAGS = -std=c++11 -Wconversion -Wall -Werror -Wextra -pedantic # make release - will compile "all" with $(CXXFLAGS) and the -O3 flag # also defines NDEBUG so that asserts will not check -- GitLab