From 3b34ea02000e6c509642a2f79ccbce6edc8dc8cf Mon Sep 17 00:00:00 2001 From: James Lamb Date: Sun, 3 Sep 2023 17:34:49 -0500 Subject: [PATCH 1/3] update to fmt 10.1.1, fast_double_parser 0.7.0 --- external_libs/fast_double_parser | 2 +- external_libs/fmt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/external_libs/fast_double_parser b/external_libs/fast_double_parser index ace60646c02d..efec03532ef6 160000 --- a/external_libs/fast_double_parser +++ b/external_libs/fast_double_parser @@ -1 +1 @@ -Subproject commit ace60646c02dc54c57f19d644e49a61e7e7758ec +Subproject commit efec03532ef65984786e5e32dbc81f6e6a55a115 diff --git a/external_libs/fmt b/external_libs/fmt index b6f4ceaed0a0..f5e54359df4c 160000 --- a/external_libs/fmt +++ b/external_libs/fmt @@ -1 +1 @@ -Subproject commit b6f4ceaed0a0a24ccf575fab6c56dd50ccf6f1a9 +Subproject commit f5e54359df4c26b6230fc61d38aa294581393084 From a88be5165dd196f861313a2320cb0b860daa3c11 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Sun, 3 Sep 2023 21:58:10 -0500 Subject: [PATCH 2/3] suppress stringop-overflow warning with MinGW --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5087d6a8fddb..8438ac2bf44f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -324,7 +324,7 @@ endif() if(UNIX OR MINGW OR CYGWIN) set( CMAKE_CXX_FLAGS - "${CMAKE_CXX_FLAGS} -std=c++11 -pthread -Wextra -Wall -Wno-ignored-attributes -Wno-unknown-pragmas -Wno-return-type" + "${CMAKE_CXX_FLAGS} -std=c++11 -pthread -Wextra -Wall -Wno-ignored-attributes -Wno-unknown-pragmas -Wno-return-type -Wno-stringop-overflow" ) if(USE_DEBUG) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0") From 352dd46518079f9c18dd2af86664177068afc403 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Sun, 3 Sep 2023 22:06:16 -0500 Subject: [PATCH 3/3] move MinGW fix --- CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8438ac2bf44f..6705ef130052 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -324,8 +324,15 @@ endif() if(UNIX OR MINGW OR CYGWIN) set( CMAKE_CXX_FLAGS - "${CMAKE_CXX_FLAGS} -std=c++11 -pthread -Wextra -Wall -Wno-ignored-attributes -Wno-unknown-pragmas -Wno-return-type -Wno-stringop-overflow" + "${CMAKE_CXX_FLAGS} -std=c++11 -pthread -Wextra -Wall -Wno-ignored-attributes -Wno-unknown-pragmas -Wno-return-type" ) + if(MINGW) + # ignore this warning: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95353 + set( + CMAKE_CXX_FLAGS + "${CMAKE_CXX_FLAGS} -Wno-stringop-overflow" + ) + endif() if(USE_DEBUG) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0") else()