From 26db53379f061f7aecb25716a872d118601068e8 Mon Sep 17 00:00:00 2001 From: paoletti <paoletti@umich.edu> Date: Tue, 12 Sep 2017 11:48:19 -0400 Subject: [PATCH] Changed compile flag from -std=c++17 to -std=c++1z for Mac users; still works on CAEN and autograder. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4108dba..41a802e 100644 --- a/Makefile +++ b/Makefile @@ -52,8 +52,8 @@ PROJECTFILE = $(or $(wildcard project*.cpp), nomain.cpp) PARTIAL_SUBMITFILE = partialsubmit.tar.gz FULL_SUBMITFILE = fullsubmit.tar.gz -#Default Flags -CXXFLAGS = -std=c++17 -Wconversion -Wall -Werror -Wextra -pedantic +#Default Flags (would prefer -std=c++17 but Mac/Xcode/Clang doesn't support) +CXXFLAGS = -std=c++1z -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