Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8c89d90

Browse files
committedAug 17, 2020
switch to the current -std=... opts
1 parent 1a2fd27 commit 8c89d90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎tests/host/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ FLAGS += -DNONOSDK221=1
161161
FLAGS += -DF_CPU=80000000
162162
FLAGS += $(MKFLAGS)
163163
FLAGS += -Wimplicit-fallthrough=2 # allow "// fall through" comments to stop spurious warnings
164-
CXXFLAGS += -std=c++11 -fno-rtti $(FLAGS) -funsigned-char
165-
CFLAGS += -std=c99 $(FLAGS) -funsigned-char
164+
CXXFLAGS += -std=gnu++17 -fno-rtti $(FLAGS) -funsigned-char
165+
CFLAGS += -std=c17 $(FLAGS) -funsigned-char
166166
LDFLAGS += -coverage $(OPTZ) -g $(M32)
167167
VALGRINDFLAGS += --leak-check=full --track-origins=yes --error-limit=no --show-leak-kinds=all --error-exitcode=999
168168
CXXFLAGS += -Wno-error=format-security # cores/esp8266/Print.cpp:42:24: error: format not a string literal and no format arguments [-Werror=format-security] -- (os_printf_plus(not_the_best_way))

0 commit comments

Comments
 (0)
Please sign in to comment.