]> PatchyGit - patchyircd.git/commitdiff
use c++20
authorEgor <egor@patchysicp.xyz>
Sat, 1 Mar 2025 13:58:09 +0000 (15:58 +0200)
committerEgor <egor@patchysicp.xyz>
Sat, 1 Mar 2025 13:58:09 +0000 (15:58 +0200)
config.example.mk

index 38237b0..1530c6d 100644 (file)
@@ -2,6 +2,6 @@ HEADERS+=config.mk
 CXX=clang++
 WARNS=-Wall -Wextra -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes
 #-Wmissing-variable-declarations
-CXXFLAGS=$(WARNS) -DNETPOLL_USE_POLL -D_GNU_SOURCE
+CXXFLAGS=$(WARNS) -std=c++20 -DNETPOLL_USE_POLL -D_GNU_SOURCE
 USE_TLS=1
 USE_LUA=1