Skip to content

Commit

Permalink
instead of gnu++17, turn off the warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nornagon committed Jan 6, 2024
1 parent 18cbdd7 commit 4778a2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ WARNINGS = \
-Wno-unknown-warning-option \
-Wno-dangling-reference \
-Wno-c++20-compat
ifeq ($(NATIVE), emscripten)
WARNINGS += -Wno-gnu-zero-variadic-macro-arguments
endif
# Uncomment below to disable warnings
#WARNINGS = -w
DEBUGSYMS = -g
Expand Down Expand Up @@ -474,9 +477,6 @@ endif

ifeq ($(shell sh -c 'uname -o 2>/dev/null || echo not'),Cygwin)
OTHERS += -std=gnu++17
else ifeq ($(NATIVE), emscripten)
# The EM_ASM() macro requires gnu extensions
OTHERS += -std=gnu++17
else
OTHERS += -std=c++17
endif
Expand Down

0 comments on commit 4778a2c

Please sign in to comment.