From d02c16985140679ccf741405b3401d5fd14c0735 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 19 Feb 2020 12:01:15 +0100 Subject: [PATCH] Build: Build with -std=c++2a Let's get ready for C++20 :^) --- Makefile.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.common b/Makefile.common index c2c0acb9d9..964357a157 100644 --- a/Makefile.common +++ b/Makefile.common @@ -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