diff options
| author | Maxime Coste <mawww@kakoune.org> | 2025-03-25 08:21:17 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2025-03-25 21:28:00 +1100 |
| commit | 04accbb26734fe3f91443ee8567d275a09020f27 (patch) | |
| tree | abacf136f1e1a49ab1a095f2c4e281ef53fac4bb | |
| parent | 807e04654cb52e128d40f9f05365104d9e7f51d6 (diff) | |
Bump build to c++23
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | src/file.hh | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -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 diff --git a/src/file.hh b/src/file.hh index 0630a2f7..f5dfa112 100644 --- a/src/file.hh +++ b/src/file.hh @@ -13,6 +13,7 @@ #include <sys/types.h> #include <sys/stat.h> #include <cstring> +#include <exception> namespace Kakoune { |
