From 768f642336b1466827bb4c374b6ade5a77a6226f Mon Sep 17 00:00:00 2001 From: James Lamb Date: Sun, 9 Feb 2025 22:38:32 -0600 Subject: [PATCH] [c++] update to fmt 11.1.2, fast_double_parser 0.8.0 (#6802) --- CMakeLists.txt | 3 ++- R-package/.Rbuildignore | 1 + external_libs/fast_double_parser | 2 +- external_libs/fmt | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2482aacf0603..168026f267d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -336,7 +336,8 @@ if(WIN32) endif() if(MSVC) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4 /MP") + # compiling 'fmt' on MSVC: "Unicode support requires compiling with /utf-8" + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4 /MP /utf-8") if(__BUILD_FOR_R) # MSVC does not like this commit: # https://github.com/wch/r-source/commit/fb52ac1a610571fcb8ac92d886b9fefcffaa7d48 diff --git a/R-package/.Rbuildignore b/R-package/.Rbuildignore index df5ea97270ef..54e8bad8761e 100644 --- a/R-package/.Rbuildignore +++ b/R-package/.Rbuildignore @@ -4,6 +4,7 @@ AUTOCONF_UBUNTU_VERSION ^.*\.bin ^build_r.R$ \.clang-format +^.*\.clusterfuzzlite$ ^cran-comments\.md$ ^docs$ ^.*\.dll diff --git a/external_libs/fast_double_parser b/external_libs/fast_double_parser index efec03532ef6..252029ddac66 160000 --- a/external_libs/fast_double_parser +++ b/external_libs/fast_double_parser @@ -1 +1 @@ -Subproject commit efec03532ef65984786e5e32dbc81f6e6a55a115 +Subproject commit 252029ddac664370bdda3f0761675785d92a1573 diff --git a/external_libs/fmt b/external_libs/fmt index f5e54359df4c..8303d140a1a1 160000 --- a/external_libs/fmt +++ b/external_libs/fmt @@ -1 +1 @@ -Subproject commit f5e54359df4c26b6230fc61d38aa294581393084 +Subproject commit 8303d140a1a11f19b982a9f664bbe59a1ccda3f4