Bump build to c++23

This commit is contained in:
Maxime Coste 2025-03-25 08:21:17 +11:00
parent 807e04654c
commit 04accbb267
2 changed files with 2 additions and 1 deletions

View file

@ -63,7 +63,7 @@ LDFLAGS-os-SunOS = -lsocket -rdynamic
CPPFLAGS-os-Windows = -D_XOPEN_SOURCE=700
LIBS-os-Windows = -ldbghelp
CXXFLAGS-default = -std=c++2a -Wall -Wextra -pedantic -Wno-unused-parameter -Wno-sign-compare
CXXFLAGS-default = -std=c++2b -Wall -Wextra -pedantic -Wno-unused-parameter -Wno-sign-compare
compiler = $(shell $(CXX) --version | grep -E -o 'clang|g\+\+|c\+\+' | head -1)
compiler != $(CXX) --version | grep -E -o 'clang|g\+\+|c\+\+' | head -1

View file

@ -13,6 +13,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <cstring>
#include <exception>
namespace Kakoune
{