Skip to content

Commit

Permalink
Update makefile to use c++17 standard (#94)
Browse files Browse the repository at this point in the history
The C++ standard didn't match the utilization inside the code and would fail to compile using the original makefile
  • Loading branch information
james2432 authored May 4, 2023
1 parent da7bbbd commit 434817b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 434817b

Please sign in to comment.