From 78915746eea623206dc639adc45fc1bd217fec22 Mon Sep 17 00:00:00 2001 From: stickz Date: Sat, 18 Jan 2025 15:23:52 -0500 Subject: [PATCH] Bump c++ standard to 17 This pull request bumps the rTorrent c++ standard from 17. This resolves various undefined behavior which could occur. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 629a8f91..e4e0dc4c 100644 --- a/configure.ac +++ b/configure.ac @@ -13,7 +13,7 @@ AC_PROG_CXX AC_SYS_LARGEFILE LT_INIT -AX_CXX_COMPILE_STDCXX([14], [noext], [mandatory]) +AX_CXX_COMPILE_STDCXX([17], [noext], [mandatory]) RAK_CHECK_CFLAGS RAK_CHECK_CXXFLAGS