mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 08:56:40 +00:00
Build: Build with -std=c++2a
Let's get ready for C++20 :^)
This commit is contained in:
parent
ef38c49619
commit
d02c169851
|
@ -1,7 +1,7 @@
|
|||
MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
|
||||
SERENITY_BASE_DIR := $(patsubst %/,%,$(dir $(MAKEFILE_PATH)))
|
||||
|
||||
CXX_STANDARD_FLAGS = -std=c++17
|
||||
CXX_STANDARD_FLAGS = -std=c++2a
|
||||
CXX_WARNING_FLAGS = -Werror -Wextra -Wall -Wno-nonnull-compare -Wno-deprecated-copy -Wno-address-of-packed-member -Wundef -Wcast-qual -Wwrite-strings -Wimplicit-fallthrough -Wno-expansion-to-defined
|
||||
CXX_FLAVOR_FLAGS = -fno-exceptions -fno-rtti -fstack-protector
|
||||
#CXX_SUGGEST_FLAGS = -Wsuggest-final-types -Wsuggest-final-methods -Wsuggest-override #-Wsuggest-attribute=noreturn
|
||||
|
|
Loading…
Reference in a new issue