From 434817bde98aea3e2ba8388f1a31985b0c8cc8bf Mon Sep 17 00:00:00 2001 From: James Date: Thu, 4 May 2023 17:49:00 +0000 Subject: [PATCH] Update makefile to use c++17 standard (#94) The C++ standard didn't match the utilization inside the code and would fail to compile using the original makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 712b5116..d2adfcd7 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ SHELL = /bin/sh CC := $(CC) CXX := $(CXX) CFLAGS := $(CFLAGS) -CXXFLAGS := $(CXXFLAGS) -std=c++11 +CXXFLAGS := $(CXXFLAGS) -std=c++17 LDFLAGS := $(LDFLAGS) WARNING_FLAGS := -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow RELEASE_FLAGS := -O3 -DNDEBUG