Source: fmtlib
Followup-For: Bug #1072674
Hi,
we are packaging fenics-dolfinx for release 0.9.0. In that release upstream
decided to introduce a dependency on spdlog.
When building locally we get the following errors, all coming from fmtlib. Is
there an ETA for the transition of fmtlib from v9 to v10?
Thanks,
Francesco
===============================================================
+++ DETAILS OF THE ERROR +++
[ 7%] Building CXX object biharmonic/CMakeFiles/demo_biharmonic.dir/main.cpp.o
cd /repositories/dolfinx/obj-x86_64-linux-gnu-real/run_demo/biharmonic &&
/usr/bin/c++ -DADIOS2_USE_MPI -DBOOST_TIMER_DYN_LINK -DBOOST_TIMER_NO_LIB
-DDOLFINX_VERSION=\"0.9.0\" -DFMT_SHARED -DHAS_ADIOS2 -DHAS_PETSC
-DHAS_PTSCOTCH -DHAS_SLEPC -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL
-DSPDLOG_SHARED_LIB
-I/repositories/dolfinx/obj-x86_64-linux-gnu-real/run_demo/biharmonic
-I/repositories/dolfinx/cpp/demo/biharmonic -isystem
/repositories/dolfinx/debian/tmp-real/usr/include -isystem
/usr/lib/python3/dist-packages/ffcx/codegeneration -isystem
/usr/lib/x86_64-linux-gnu/openmpi/include -isystem
/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem
/usr/include/hdf5/openmpi -isystem /usr/include/adios2/build/mpi -isystem
/usr/lib/petscdir/petsc3.21/x86_64-linux-gnu-real/include -isystem
/usr/lib/slepcdir/slepc3.21/x86_64-linux-gnu-real/include -g -O2
-ffile-prefix-map=/repositories/dolfinx=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
-std=c++20 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-comment -Wall -Wextra -pedantic
-Werror -MD -MT biharmonic/CMakeFiles/demo_biharmonic.dir/main.cpp.o -MF
CMakeFiles/demo_biharmonic.dir/main.cpp.o.d -o
CMakeFiles/demo_biharmonic.dir/main.cpp.o -c
/repositories/dolfinx/cpp/demo/biharmonic/main.cpp
In file included from /usr/include/c++/14/array:43,
from /usr/include/basix/cell.h:7,
from /usr/include/basix/finite-element.h:7,
from /repositories/dolfinx/cpp/demo/biharmonic/main.cpp:131:
In static member function 'static constexpr _Up* std::__copy_move<_IsMove,
true, std::random_access_iterator_tag>::__copy_m(_Tp*, _Tp*, _Up*) [with _Tp =
unsigned int; _Up = unsigned int; bool _IsMove = false]',
inlined from 'constexpr _OI std::__copy_move_a2(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:521:30,
inlined from 'constexpr _OI std::__copy_move_a1(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:548:42,
inlined from 'constexpr _OI std::__copy_move_a(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:555:31,
inlined from 'constexpr _OI std::copy(_II, _II, _OI) [with _II = unsigned
int*; _OI = unsigned int*]' at /usr/include/c++/14/bits/stl_algobase.h:651:7,
inlined from 'static _ForwardIterator
std::__uninitialized_copy<true>::__uninit_copy(_InputIterator, _InputIterator,
_ForwardIterator) [with _InputIterator = unsigned int*; _ForwardIterator =
unsigned int*]' at /usr/include/c++/14/bits/stl_uninitialized.h:147:27,
inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator,
_InputIterator, _ForwardIterator) [with _InputIterator = unsigned int*;
_ForwardIterator = unsigned int*]' at
/usr/include/c++/14/bits/stl_uninitialized.h:185:15,
inlined from 'constexpr void fmt::v9::basic_memory_buffer<T, SIZE,
Allocator>::grow(size_t) [with T = unsigned int; long unsigned int SIZE = 32;
Allocator = std::allocator<unsigned int>]' at /usr/include/fmt/format.h:925:26,
inlined from 'constexpr void
fmt::v9::detail::buffer<T>::try_reserve(size_t) [with T = unsigned int]' at
/usr/include/fmt/core.h:928:39,
inlined from 'constexpr void
fmt::v9::detail::buffer<T>::try_reserve(size_t) [with T = unsigned int]' at
/usr/include/fmt/core.h:927:24,
inlined from 'constexpr void fmt::v9::detail::buffer<T>::try_resize(size_t)
[with T = unsigned int]' at /usr/include/fmt/core.h:919:16,
inlined from 'constexpr void fmt::v9::basic_memory_buffer<T, SIZE,
Allocator>::resize(size_t) [with T = unsigned int; long unsigned int SIZE = 32;
Allocator = std::allocator<unsigned int>]' at /usr/include/fmt/format.h:897:63,
inlined from 'constexpr void fmt::v9::detail::bigint::assign(UInt) [with
UInt = long unsigned int; typename std::enable_if<(std::is_same<UInt, long
unsigned int>::value || std::is_same<UInt, __int128 unsigned>::value),
int>::type <anonymous> = 0]' at /usr/include/fmt/format.h:2792:19,
inlined from 'constexpr void fmt::v9::detail::bigint::operator=(Int) [with
Int = int]' at /usr/include/fmt/format.h:2813:11,
inlined from 'constexpr void fmt::v9::detail::bigint::assign_pow10(int)' at
/usr/include/fmt/format.h:2886:32:
/usr/include/c++/14/bits/stl_algobase.h:452:30: error: 'void*
__builtin_memmove(void*, const void*, long unsigned int)' forming offset 4 is
out of the bounds [0, 4] [-Werror=array-bounds=]
452 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static constexpr _Up* std::__copy_move<_IsMove,
true, std::random_access_iterator_tag>::__copy_m(_Tp*, _Tp*, _Up*) [with _Tp =
unsigned int; _Up = unsigned int; bool _IsMove = false]',
inlined from 'constexpr _OI std::__copy_move_a2(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:521:30,
inlined from 'constexpr _OI std::__copy_move_a1(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:548:42,
inlined from 'constexpr _OI std::__copy_move_a(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:555:31,
inlined from 'constexpr _OI std::copy(_II, _II, _OI) [with _II = unsigned
int*; _OI = unsigned int*]' at /usr/include/c++/14/bits/stl_algobase.h:651:7,
inlined from 'static _ForwardIterator
std::__uninitialized_copy<true>::__uninit_copy(_InputIterator, _InputIterator,
_ForwardIterator) [with _InputIterator = unsigned int*; _ForwardIterator =
unsigned int*]' at /usr/include/c++/14/bits/stl_uninitialized.h:147:27,
inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator,
_InputIterator, _ForwardIterator) [with _InputIterator = unsigned int*;
_ForwardIterator = unsigned int*]' at
/usr/include/c++/14/bits/stl_uninitialized.h:185:15,
inlined from 'constexpr void fmt::v9::basic_memory_buffer<T, SIZE,
Allocator>::grow(size_t) [with T = unsigned int; long unsigned int SIZE = 32;
Allocator = std::allocator<unsigned int>]' at /usr/include/fmt/format.h:925:26,
inlined from 'constexpr void
fmt::v9::detail::buffer<T>::try_reserve(size_t) [with T = unsigned int]' at
/usr/include/fmt/core.h:928:39,
inlined from 'constexpr void
fmt::v9::detail::buffer<T>::try_reserve(size_t) [with T = unsigned int]' at
/usr/include/fmt/core.h:927:24,
inlined from 'constexpr void fmt::v9::detail::buffer<T>::try_resize(size_t)
[with T = unsigned int]' at /usr/include/fmt/core.h:919:16,
inlined from 'constexpr void fmt::v9::basic_memory_buffer<T, SIZE,
Allocator>::resize(size_t) [with T = unsigned int; long unsigned int SIZE = 32;
Allocator = std::allocator<unsigned int>]' at /usr/include/fmt/format.h:897:63,
inlined from 'constexpr void fmt::v9::detail::bigint::assign(UInt) [with
UInt = long unsigned int; typename std::enable_if<(std::is_same<UInt, long
unsigned int>::value || std::is_same<UInt, __int128 unsigned>::value),
int>::type <anonymous> = 0]' at /usr/include/fmt/format.h:2792:19,
inlined from 'constexpr void fmt::v9::detail::bigint::operator=(Int) [with
Int = int]' at /usr/include/fmt/format.h:2813:11,
inlined from 'constexpr void fmt::v9::detail::bigint::assign_pow10(int)' at
/usr/include/fmt/format.h:2893:11:
/usr/include/c++/14/bits/stl_algobase.h:452:30: error: 'void*
__builtin_memmove(void*, const void*, long unsigned int)' forming offset 4 is
out of the bounds [0, 4] [-Werror=array-bounds=]
452 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static constexpr _Up* std::__copy_move<_IsMove,
true, std::random_access_iterator_tag>::__copy_m(_Tp*, _Tp*, _Up*) [with _Tp =
unsigned int; _Up = unsigned int; bool _IsMove = false]',
inlined from 'constexpr _OI std::__copy_move_a2(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:521:30,
inlined from 'constexpr _OI std::__copy_move_a1(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:548:42,
inlined from 'constexpr _OI std::__copy_move_a(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:555:31,
inlined from 'constexpr _OI std::copy(_II, _II, _OI) [with _II = unsigned
int*; _OI = unsigned int*]' at /usr/include/c++/14/bits/stl_algobase.h:651:7,
inlined from 'static _ForwardIterator
std::__uninitialized_copy<true>::__uninit_copy(_InputIterator, _InputIterator,
_ForwardIterator) [with _InputIterator = unsigned int*; _ForwardIterator =
unsigned int*]' at /usr/include/c++/14/bits/stl_uninitialized.h:147:27,
inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator,
_InputIterator, _ForwardIterator) [with _InputIterator = unsigned int*;
_ForwardIterator = unsigned int*]' at
/usr/include/c++/14/bits/stl_uninitialized.h:185:15,
inlined from 'constexpr void fmt::v9::basic_memory_buffer<T, SIZE,
Allocator>::grow(size_t) [with T = unsigned int; long unsigned int SIZE = 32;
Allocator = std::allocator<unsigned int>]' at /usr/include/fmt/format.h:925:26,
inlined from 'constexpr void
fmt::v9::detail::buffer<T>::try_reserve(size_t) [with T = unsigned int]' at
/usr/include/fmt/core.h:928:39,
inlined from 'constexpr void
fmt::v9::detail::buffer<T>::try_reserve(size_t) [with T = unsigned int]' at
/usr/include/fmt/core.h:927:24,
inlined from 'constexpr void fmt::v9::detail::buffer<T>::try_resize(size_t)
[with T = unsigned int]' at /usr/include/fmt/core.h:919:16,
inlined from 'constexpr void fmt::v9::basic_memory_buffer<T, SIZE,
Allocator>::resize(size_t) [with T = unsigned int; long unsigned int SIZE = 32;
Allocator = std::allocator<unsigned int>]' at /usr/include/fmt/format.h:897:63,
inlined from 'constexpr void fmt::v9::detail::bigint::assign(UInt) [with
UInt = long unsigned int; typename std::enable_if<(std::is_same<UInt, long
unsigned int>::value || std::is_same<UInt, __int128 unsigned>::value),
int>::type <anonymous> = 0]' at /usr/include/fmt/format.h:2792:19,
inlined from 'constexpr void fmt::v9::detail::bigint::operator=(Int) [with
Int = int]' at /usr/include/fmt/format.h:2813:11,
inlined from 'constexpr void
fmt::v9::detail::format_dragon(basic_fp<__int128 unsigned>, unsigned int, int,
buffer<char>&, int&)' at /usr/include/fmt/format.h:2987:11:
/usr/include/c++/14/bits/stl_algobase.h:452:30: error: 'void*
__builtin_memmove(void*, const void*, long unsigned int)' forming offset 4 is
out of the bounds [0, 4] [-Werror=array-bounds=]
452 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static constexpr _Up* std::__copy_move<_IsMove,
true, std::random_access_iterator_tag>::__copy_m(_Tp*, _Tp*, _Up*) [with _Tp =
unsigned int; _Up = unsigned int; bool _IsMove = false]',
inlined from 'constexpr _OI std::__copy_move_a2(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:521:30,
inlined from 'constexpr _OI std::__copy_move_a1(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:548:42,
inlined from 'constexpr _OI std::__copy_move_a(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:555:31,
inlined from 'constexpr _OI std::copy(_II, _II, _OI) [with _II = unsigned
int*; _OI = unsigned int*]' at /usr/include/c++/14/bits/stl_algobase.h:651:7,
inlined from 'static _ForwardIterator
std::__uninitialized_copy<true>::__uninit_copy(_InputIterator, _InputIterator,
_ForwardIterator) [with _InputIterator = unsigned int*; _ForwardIterator =
unsigned int*]' at /usr/include/c++/14/bits/stl_uninitialized.h:147:27,
inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator,
_InputIterator, _ForwardIterator) [with _InputIterator = unsigned int*;
_ForwardIterator = unsigned int*]' at
/usr/include/c++/14/bits/stl_uninitialized.h:185:15,
inlined from 'constexpr void fmt::v9::basic_memory_buffer<T, SIZE,
Allocator>::grow(size_t) [with T = unsigned int; long unsigned int SIZE = 32;
Allocator = std::allocator<unsigned int>]' at /usr/include/fmt/format.h:925:26,
inlined from 'constexpr void
fmt::v9::detail::buffer<T>::try_reserve(size_t) [with T = unsigned int]' at
/usr/include/fmt/core.h:928:39,
inlined from 'constexpr void
fmt::v9::detail::buffer<T>::try_reserve(size_t) [with T = unsigned int]' at
/usr/include/fmt/core.h:927:24,
inlined from 'constexpr void fmt::v9::detail::buffer<T>::try_resize(size_t)
[with T = unsigned int]' at /usr/include/fmt/core.h:919:16,
inlined from 'constexpr void fmt::v9::basic_memory_buffer<T, SIZE,
Allocator>::resize(size_t) [with T = unsigned int; long unsigned int SIZE = 32;
Allocator = std::allocator<unsigned int>]' at /usr/include/fmt/format.h:897:63,
inlined from 'constexpr void fmt::v9::detail::bigint::assign(UInt) [with
UInt = long unsigned int; typename std::enable_if<(std::is_same<UInt, long
unsigned int>::value || std::is_same<UInt, __int128 unsigned>::value),
int>::type <anonymous> = 0]' at /usr/include/fmt/format.h:2792:19,
inlined from 'constexpr void fmt::v9::detail::bigint::operator=(Int) [with
Int = int]' at /usr/include/fmt/format.h:2813:11,
inlined from 'constexpr void
fmt::v9::detail::format_dragon(basic_fp<__int128 unsigned>, unsigned int, int,
buffer<char>&, int&)' at /usr/include/fmt/format.h:2990:19:
/usr/include/c++/14/bits/stl_algobase.h:452:30: error: 'void*
__builtin_memmove(void*, const void*, long unsigned int)' forming offset 4 is
out of the bounds [0, 4] [-Werror=array-bounds=]
452 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static constexpr _Up* std::__copy_move<_IsMove,
true, std::random_access_iterator_tag>::__copy_m(_Tp*, _Tp*, _Up*) [with _Tp =
unsigned int; _Up = unsigned int; bool _IsMove = false]',
inlined from 'constexpr _OI std::__copy_move_a2(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:521:30,
inlined from 'constexpr _OI std::__copy_move_a1(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:548:42,
inlined from 'constexpr _OI std::__copy_move_a(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:555:31,
inlined from 'constexpr _OI std::copy(_II, _II, _OI) [with _II = unsigned
int*; _OI = unsigned int*]' at /usr/include/c++/14/bits/stl_algobase.h:651:7,
inlined from 'static _ForwardIterator
std::__uninitialized_copy<true>::__uninit_copy(_InputIterator, _InputIterator,
_ForwardIterator) [with _InputIterator = unsigned int*; _ForwardIterator =
unsigned int*]' at /usr/include/c++/14/bits/stl_uninitialized.h:147:27,
inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator,
_InputIterator, _ForwardIterator) [with _InputIterator = unsigned int*;
_ForwardIterator = unsigned int*]' at
/usr/include/c++/14/bits/stl_uninitialized.h:185:15,
inlined from 'constexpr void fmt::v9::basic_memory_buffer<T, SIZE,
Allocator>::grow(size_t) [with T = unsigned int; long unsigned int SIZE = 32;
Allocator = std::allocator<unsigned int>]' at /usr/include/fmt/format.h:925:26,
inlined from 'constexpr void
fmt::v9::detail::buffer<T>::try_reserve(size_t) [with T = unsigned int]' at
/usr/include/fmt/core.h:928:39,
inlined from 'constexpr void
fmt::v9::detail::buffer<T>::try_reserve(size_t) [with T = unsigned int]' at
/usr/include/fmt/core.h:927:24,
inlined from 'constexpr void fmt::v9::detail::buffer<T>::try_resize(size_t)
[with T = unsigned int]' at /usr/include/fmt/core.h:919:16,
inlined from 'constexpr void fmt::v9::basic_memory_buffer<T, SIZE,
Allocator>::resize(size_t) [with T = unsigned int; long unsigned int SIZE = 32;
Allocator = std::allocator<unsigned int>]' at /usr/include/fmt/format.h:897:63,
inlined from 'constexpr void fmt::v9::detail::bigint::assign(UInt) [with
UInt = long unsigned int; typename std::enable_if<(std::is_same<UInt, long
unsigned int>::value || std::is_same<UInt, __int128 unsigned>::value),
int>::type <anonymous> = 0]' at /usr/include/fmt/format.h:2792:19,
inlined from 'constexpr void fmt::v9::detail::bigint::operator=(Int) [with
Int = int]' at /usr/include/fmt/format.h:2813:11,
inlined from 'constexpr void
fmt::v9::detail::format_dragon(basic_fp<__int128 unsigned>, unsigned int, int,
buffer<char>&, int&)' at /usr/include/fmt/format.h:3006:17:
/usr/include/c++/14/bits/stl_algobase.h:452:30: error: 'void*
__builtin_memmove(void*, const void*, long unsigned int)' forming offset 4 is
out of the bounds [0, 4] [-Werror=array-bounds=]
452 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static constexpr _Up* std::__copy_move<_IsMove,
true, std::random_access_iterator_tag>::__copy_m(_Tp*, _Tp*, _Up*) [with _Tp =
unsigned int; _Up = unsigned int; bool _IsMove = false]',
inlined from 'constexpr _OI std::__copy_move_a2(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:521:30,
inlined from 'constexpr _OI std::__copy_move_a1(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:548:42,
inlined from 'constexpr _OI std::__copy_move_a(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:555:31,
inlined from 'constexpr _OI std::copy(_II, _II, _OI) [with _II = unsigned
int*; _OI = unsigned int*]' at /usr/include/c++/14/bits/stl_algobase.h:651:7,
inlined from 'static _ForwardIterator
std::__uninitialized_copy<true>::__uninit_copy(_InputIterator, _InputIterator,
_ForwardIterator) [with _InputIterator = unsigned int*; _ForwardIterator =
unsigned int*]' at /usr/include/c++/14/bits/stl_uninitialized.h:147:27,
inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator,
_InputIterator, _ForwardIterator) [with _InputIterator = unsigned int*;
_ForwardIterator = unsigned int*]' at
/usr/include/c++/14/bits/stl_uninitialized.h:185:15,
inlined from 'constexpr void fmt::v9::basic_memory_buffer<T, SIZE,
Allocator>::grow(size_t) [with T = unsigned int; long unsigned int SIZE = 32;
Allocator = std::allocator<unsigned int>]' at /usr/include/fmt/format.h:925:26,
inlined from 'constexpr void
fmt::v9::detail::buffer<T>::try_reserve(size_t) [with T = unsigned int]' at
/usr/include/fmt/core.h:928:39,
inlined from 'constexpr void
fmt::v9::detail::buffer<T>::try_reserve(size_t) [with T = unsigned int]' at
/usr/include/fmt/core.h:927:24,
inlined from 'constexpr void fmt::v9::detail::buffer<T>::try_resize(size_t)
[with T = unsigned int]' at /usr/include/fmt/core.h:919:16,
inlined from 'constexpr void fmt::v9::basic_memory_buffer<T, SIZE,
Allocator>::resize(size_t) [with T = unsigned int; long unsigned int SIZE = 32;
Allocator = std::allocator<unsigned int>]' at /usr/include/fmt/format.h:897:63,
inlined from 'constexpr void fmt::v9::detail::bigint::assign(UInt) [with
UInt = long unsigned int; typename std::enable_if<(std::is_same<UInt, long
unsigned int>::value || std::is_same<UInt, __int128 unsigned>::value),
int>::type <anonymous> = 0]' at /usr/include/fmt/format.h:2792:19,
inlined from 'constexpr void fmt::v9::detail::bigint::operator=(Int) [with
Int = int]' at /usr/include/fmt/format.h:2813:11,
inlined from 'constexpr void
fmt::v9::detail::format_dragon(basic_fp<__int128 unsigned>, unsigned int, int,
buffer<char>&, int&)' at /usr/include/fmt/format.h:3013:11:
/usr/include/c++/14/bits/stl_algobase.h:452:30: error: 'void*
__builtin_memmove(void*, const void*, long unsigned int)' forming offset 4 is
out of the bounds [0, 4] [-Werror=array-bounds=]
452 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static constexpr _Up* std::__copy_move<_IsMove,
true, std::random_access_iterator_tag>::__copy_m(_Tp*, _Tp*, _Up*) [with _Tp =
unsigned int; _Up = unsigned int; bool _IsMove = false]',
inlined from 'constexpr _OI std::__copy_move_a2(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:521:30,
inlined from 'constexpr _OI std::__copy_move_a1(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:548:42,
inlined from 'constexpr _OI std::__copy_move_a(_II, _II, _OI) [with bool
_IsMove = false; _II = unsigned int*; _OI = unsigned int*]' at
/usr/include/c++/14/bits/stl_algobase.h:555:31,
inlined from 'constexpr _OI std::copy(_II, _II, _OI) [with _II = unsigned
int*; _OI = unsigned int*]' at /usr/include/c++/14/bits/stl_algobase.h:651:7,
inlined from 'static _ForwardIterator
std::__uninitialized_copy<true>::__uninit_copy(_InputIterator, _InputIterator,
_ForwardIterator) [with _InputIterator = unsigned int*; _ForwardIterator =
unsigned int*]' at /usr/include/c++/14/bits/stl_uninitialized.h:147:27,
inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator,
_InputIterator, _ForwardIterator) [with _InputIterator = unsigned int*;
_ForwardIterator = unsigned int*]' at
/usr/include/c++/14/bits/stl_uninitialized.h:185:15,
inlined from 'constexpr void fmt::v9::basic_memory_buffer<T, SIZE,
Allocator>::grow(size_t) [with T = unsigned int; long unsigned int SIZE = 32;
Allocator = std::allocator<unsigned int>]' at /usr/include/fmt/format.h:925:26,
inlined from 'constexpr void
fmt::v9::detail::buffer<T>::try_reserve(size_t) [with T = unsigned int]' at
/usr/include/fmt/core.h:928:39,
inlined from 'constexpr void
fmt::v9::detail::buffer<T>::try_reserve(size_t) [with T = unsigned int]' at
/usr/include/fmt/core.h:927:24,
inlined from 'constexpr void fmt::v9::detail::buffer<T>::try_resize(size_t)
[with T = unsigned int]' at /usr/include/fmt/core.h:919:16,
inlined from 'constexpr void fmt::v9::basic_memory_buffer<T, SIZE,
Allocator>::resize(size_t) [with T = unsigned int; long unsigned int SIZE = 32;
Allocator = std::allocator<unsigned int>]' at /usr/include/fmt/format.h:897:63,
inlined from 'constexpr void fmt::v9::detail::bigint::assign(UInt) [with
UInt = long unsigned int; typename std::enable_if<(std::is_same<UInt, long
unsigned int>::value || std::is_same<UInt, __int128 unsigned>::value),
int>::type <anonymous> = 0]' at /usr/include/fmt/format.h:2792:19,
inlined from 'constexpr void fmt::v9::detail::bigint::operator=(Int) [with
Int = long long unsigned int]' at /usr/include/fmt/format.h:2813:11,
inlined from 'constexpr void
fmt::v9::detail::format_dragon(basic_fp<__int128 unsigned>, unsigned int, int,
buffer<char>&, int&)' at /usr/include/fmt/format.h:3015:19:
/usr/include/c++/14/bits/stl_algobase.h:452:30: error: 'void*
__builtin_memmove(void*, const void*, long unsigned int)' forming offset 4 is
out of the bounds [0, 4] [-Werror=array-bounds=]
452 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~