Skip to content
This repository was archived by the owner on Sep 9, 2022. It is now read-only.

Commit fc32040

Browse files
authored
Change compile flags to c++17 (#16)
1 parent ee68fcb commit fc32040

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: problem-assets/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
# Defining some recursively expanded variables
2525

26-
CXXFLAGS=-std=gnu++1y -Wall -Wextra -O2
26+
CXXFLAGS=-std=c++17 -Wall -Wextra -O2
2727

2828
CPP_EXT=cpp
2929
HEADER_EXT=h

Diff for: scripts/internal/compile_solution.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ fi
189189

190190

191191
if [ "${LANG}" == "cpp" ] ; then
192-
variable_exists "CPP_STD_OPT" || CPP_STD_OPT="--std=gnu++14"
192+
variable_exists "CPP_STD_OPT" || CPP_STD_OPT="--std=c++17"
193193
vecho "CPP_STD_OPT='${CPP_STD_OPT}'"
194194
variable_exists "CPP_WARNING_OPTS" || CPP_WARNING_OPTS="-Wall -Wextra -Wshadow"
195195
vecho "CPP_WARNING_OPTS='${CPP_WARNING_OPTS}'"

0 commit comments

Comments
 (0)