]> git.hungrycats.org Git - bees/commitdiff
makeflags: bump C++ standard to C++17
authorZygo Blaxell <bees@furryterror.org>
Sun, 20 Jul 2025 21:35:32 +0000 (17:35 -0400)
committerZygo Blaxell <bees@furryterror.org>
Sun, 3 May 2026 22:09:51 +0000 (18:09 -0400)
Say hello to:

 * designated initializers
 * function argument <auto>
 * read-write mutexes
 * sets that can search by K
 * template <auto>
 * make_unique<>

Not yet:

 * atomic_shared_ptr

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
makeflags

index e0080119cf27470d316dfacf50c870b04102dd11..d9ac50571a12ece81c7af7cb793159c530ad7a17 100644 (file)
--- 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)