From: Zygo Blaxell Date: Sun, 20 Jul 2025 21:35:32 +0000 (-0400) Subject: makeflags: bump C++ standard to C++17 X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3812e3da8be231f57ec756f976c404ca4bd7acae;p=bees makeflags: bump C++ standard to C++17 Say hello to: * designated initializers * function argument * read-write mutexes * sets that can search by K * template * make_unique<> Not yet: * atomic_shared_ptr Signed-off-by: Zygo Blaxell --- diff --git a/makeflags b/makeflags index e0080119..d9ac5057 100644 --- a/makeflags +++ b/makeflags @@ -10,4 +10,4 @@ CCFLAGS = -Wall -Wextra -Werror -O3 CCFLAGS += -I../include -D_FILE_OFFSET_BITS=64 BEES_CFLAGS = $(CCFLAGS) -std=c99 $(CFLAGS) -BEES_CXXFLAGS = $(CCFLAGS) -std=c++11 -Wold-style-cast -Wno-missing-field-initializers $(CXXFLAGS) +BEES_CXXFLAGS = $(CCFLAGS) -std=c++17 -Wold-style-cast -Wno-missing-field-initializers $(CXXFLAGS)