+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/kakoune-2020.01.16nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/kakoune-2020.01.16nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for kakoune-2020.01.16nb1 c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .alias_registry.opt.d -c -o .alias_registry.opt.o alias_registry.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .assert.opt.d -c -o .assert.opt.o assert.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .backtrace.opt.d -c -o .backtrace.opt.o backtrace.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .buffer.opt.d -c -o .buffer.opt.o buffer.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .buffer_manager.opt.d -c -o .buffer_manager.opt.o buffer_manager.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .buffer_utils.opt.d -c -o .buffer_utils.opt.o buffer_utils.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .changes.opt.d -c -o .changes.opt.o changes.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .client.opt.d -c -o .client.opt.o client.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .client_manager.opt.d -c -o .client_manager.opt.o client_manager.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .color.opt.d -c -o .color.opt.o color.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .command_manager.opt.d -c -o .command_manager.opt.o command_manager.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .commands.opt.d -c -o .commands.opt.o commands.cc commands.cc: In lambda function: commands.cc:1395:68: warning: 'mallinfo mallinfo()' is deprecated [-Wdeprecated-declarations] 1395 | write_to_debug_buffer(format(" Malloced: {}", mallinfo().uordblks)); | ~~~~~~~~^~ In file included from commands.cc:41: /usr/include/malloc.h:113:24: note: declared here 113 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED; | ^~~~~~~~ c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .completion.opt.d -c -o .completion.opt.o completion.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .context.opt.d -c -o .context.opt.o context.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .display_buffer.opt.d -c -o .display_buffer.opt.o display_buffer.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .env_vars.opt.d -c -o .env_vars.opt.o env_vars.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .event_manager.opt.d -c -o .event_manager.opt.o event_manager.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .exception.opt.d -c -o .exception.opt.o exception.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .face_registry.opt.d -c -o .face_registry.opt.o face_registry.cc In file included from scope.hh:9, from buffer.hh:12, from commands.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = int; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from commands.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from commands.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::Regex; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from commands.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from commands.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::HashMap<Kakoune::String, Kakoune::String, Kakoune::MemoryDomain::Options>; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from commands.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from commands.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::PrefixedList<long unsigned int, std::tuple<Kakoune::InclusiveBufferRange, Kakoune::String> >; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from commands.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from commands.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::PrefixedList<long unsigned int, std::tuple<Kakoune::LineCount, Kakoune::String> >; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from commands.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from commands.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = std::vector<Kakoune::String, Kakoune::Allocator<Kakoune::String, Kakoune::MemoryDomain::Options> >; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from commands.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from commands.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = std::vector<int, Kakoune::Allocator<int, Kakoune::MemoryDomain::Options> >; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from commands.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from commands.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::String; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from commands.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from commands.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = bool; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from commands.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .file.opt.d -c -o .file.opt.o file.cc In file included from scope.hh:9, from buffer.hh:12, from commands.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::PrefixedList<Kakoune::String, std::tuple<Kakoune::String, Kakoune::String, Kakoune::String> >; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from commands.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from commands.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<int, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const int&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = int; void (* validator)(const T&) = 0]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from commands.cc:3: memory.hh: In member function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = int; void (* validator)(const T&) = 0]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from commands.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<bool, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const bool&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = bool; void (* validator)(const T&) = 0]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from commands.cc:3: memory.hh: In member function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = bool; void (* validator)(const T&) = 0]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from commands.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::String, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::String&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::String; void (* validator)(const T&) = 0]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from commands.cc:3: memory.hh: In member function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::String; void (* validator)(const T&) = 0]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from commands.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::Regex, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::Regex&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::Regex; void (* validator)(const T&) = 0]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from commands.cc:3: memory.hh: In member function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::Regex; void (* validator)(const T&) = 0]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from commands.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<std::vector<int, Kakoune::Allocator<int, Kakoune::MemoryDomain::Options> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const std::vector<int, Kakoune::Allocator<int, Kakoune::MemoryDomain::Options> >&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = std::vector<int, Kakoune::Allocator<int, Kakoune::MemoryDomain::Options> >; void (* validator)(const T&) = 0]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from commands.cc:3: memory.hh: In member function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = std::vector<int, Kakoune::Allocator<int, Kakoune::MemoryDomain::Options> >; void (* validator)(const T&) = 0]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from commands.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<std::vector<Kakoune::String, Kakoune::Allocator<Kakoune::String, Kakoune::MemoryDomain::Options> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const std::vector<Kakoune::String, Kakoune::Allocator<Kakoune::String, Kakoune::MemoryDomain::Options> >&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = std::vector<Kakoune::String, Kakoune::Allocator<Kakoune::String, Kakoune::MemoryDomain::Options> >; void (* validator)(const T&) = 0]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from commands.cc:3: memory.hh: In member function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = std::vector<Kakoune::String, Kakoune::Allocator<Kakoune::String, Kakoune::MemoryDomain::Options> >; void (* validator)(const T&) = 0]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from commands.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::PrefixedList<Kakoune::String, std::tuple<Kakoune::String, Kakoune::String, Kakoune::String> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::PrefixedList<Kakoune::String, std::tuple<Kakoune::String, Kakoune::String, Kakoune::String> >&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::PrefixedList<Kakoune::String, std::tuple<Kakoune::String, Kakoune::String, Kakoune::String> >; void (* validator)(const T&) = 0]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from commands.cc:3: memory.hh: In member function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::PrefixedList<Kakoune::String, std::tuple<Kakoune::String, Kakoune::String, Kakoune::String> >; void (* validator)(const T&) = 0]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from commands.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::PrefixedList<long unsigned int, std::tuple<Kakoune::LineCount, Kakoune::String> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::PrefixedList<long unsigned int, std::tuple<Kakoune::LineCount, Kakoune::String> >&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::PrefixedList<long unsigned int, std::tuple<Kakoune::LineCount, Kakoune::String> >; void (* validator)(const T&) = 0]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from commands.cc:3: memory.hh: In member function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::PrefixedList<long unsigned int, std::tuple<Kakoune::LineCount, Kakoune::String> >; void (* validator)(const T&) = 0]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from commands.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::PrefixedList<long unsigned int, std::tuple<Kakoune::InclusiveBufferRange, Kakoune::String> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::PrefixedList<long unsigned int, std::tuple<Kakoune::InclusiveBufferRange, Kakoune::String> >&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::PrefixedList<long unsigned int, std::tuple<Kakoune::InclusiveBufferRange, Kakoune::String> >; void (* validator)(const T&) = 0]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from commands.cc:3: memory.hh: In member function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::PrefixedList<long unsigned int, std::tuple<Kakoune::InclusiveBufferRange, Kakoune::String> >; void (* validator)(const T&) = 0]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .hash.opt.d -c -o .hash.opt.o hash.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .hash_map.opt.d -c -o .hash_map.opt.o hash_map.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .highlighter.opt.d -c -o .highlighter.opt.o highlighter.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .highlighter_group.opt.d -c -o .highlighter_group.opt.o highlighter_group.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .highlighters.opt.d -c -o .highlighters.opt.o highlighters.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .hook_manager.opt.d -c -o .hook_manager.opt.o hook_manager.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .input_handler.opt.d -c -o .input_handler.opt.o input_handler.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .insert_completer.opt.d -c -o .insert_completer.opt.o insert_completer.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .json.opt.d -c -o .json.opt.o json.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .json_ui.opt.d -c -o .json_ui.opt.o json_ui.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .keymap_manager.opt.d -c -o .keymap_manager.opt.o keymap_manager.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .keys.opt.d -c -o .keys.opt.o keys.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .line_modification.opt.d -c -o .line_modification.opt.o line_modification.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .main.opt.d -c -o .main.opt.o main.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .memory.opt.d -c -o .memory.opt.o memory.cc c++ -I/usr/pkg/include/ncurses -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/pkg/include/ncurses -I/usr/pkg/include -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .ncurses_ui.opt.d -c -o .ncurses_ui.opt.o ncurses_ui.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .normal.opt.d -c -o .normal.opt.o normal.cc In file included from scope.hh:9, from buffer.hh:12, from main.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = int; void (* validator)(const T&) = Kakoune::check_tabstop]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from main.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = int; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from main.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = int; void (* validator)(const T&) = Kakoune::check_indentwidth]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from main.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = int; void (* validator)(const T&) = Kakoune::check_timeout]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from main.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = std::vector<char32_t, Kakoune::Allocator<char32_t, Kakoune::MemoryDomain::Options> >; void (* validator)(const T&) = Kakoune::check_extra_word_chars]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from main.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = std::vector<char32_t, Kakoune::Allocator<char32_t, Kakoune::MemoryDomain::Options> >; void (* validator)(const T&) = Kakoune::check_matching_pairs]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from main.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::DebugFlags; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from main.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::HashMap<Kakoune::String, Kakoune::String, Kakoune::MemoryDomain::Options>; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from main.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::WriteMethod; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from main.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::Autoreload; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from main.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = std::vector<Kakoune::InsertCompleterDesc, Kakoune::Allocator<Kakoune::InsertCompleterDesc, Kakoune::MemoryDomain::Options> >; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from main.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = std::vector<Kakoune::String, Kakoune::Allocator<Kakoune::String, Kakoune::MemoryDomain::Options> >; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from main.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::String; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from main.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::Regex; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from main.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::AutoComplete; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from main.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::AutoInfo; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from main.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = bool; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from main.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::ByteOrderMark; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from main.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::EolFormat; void (* validator)(const T&) = 0]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from scope.hh:9, from buffer.hh:12, from main.cc:3: option_manager.hh: In member function 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::DisplayCoord; void (* validator)(const T&) = Kakoune::check_scrolloff]': option_manager.hh:189:16: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 189 | return new TypedCheckedOption{manager, this->m_desc, this->get()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from main.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<int, Kakoune::check_tabstop>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const int&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = int; void (* validator)(const T&) = Kakoune::check_tabstop]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh: In function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = int; void (* validator)(const T&) = Kakoune::check_tabstop]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from main.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<int, Kakoune::check_indentwidth>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const int&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = int; void (* validator)(const T&) = Kakoune::check_indentwidth]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh: In function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = int; void (* validator)(const T&) = Kakoune::check_indentwidth]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from main.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::DisplayCoord, Kakoune::check_scrolloff>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::DisplayCoord&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::DisplayCoord; void (* validator)(const T&) = Kakoune::check_scrolloff]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh: In function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::DisplayCoord; void (* validator)(const T&) = Kakoune::check_scrolloff]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from main.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<int, Kakoune::check_timeout>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const int&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = int; void (* validator)(const T&) = Kakoune::check_timeout]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh: In function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = int; void (* validator)(const T&) = Kakoune::check_timeout]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from main.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<std::vector<char32_t, Kakoune::Allocator<char32_t, Kakoune::MemoryDomain::Options> >, Kakoune::check_extra_word_chars>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const std::vector<char32_t, Kakoune::Allocator<char32_t, Kakoune::MemoryDomain::Options> >&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = std::vector<char32_t, Kakoune::Allocator<char32_t, Kakoune::MemoryDomain::Options> >; void (* validator)(const T&) = Kakoune::check_extra_word_chars]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh: In function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = std::vector<char32_t, Kakoune::Allocator<char32_t, Kakoune::MemoryDomain::Options> >; void (* validator)(const T&) = Kakoune::check_extra_word_chars]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from main.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<std::vector<char32_t, Kakoune::Allocator<char32_t, Kakoune::MemoryDomain::Options> >, Kakoune::check_matching_pairs>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const std::vector<char32_t, Kakoune::Allocator<char32_t, Kakoune::MemoryDomain::Options> >&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = std::vector<char32_t, Kakoune::Allocator<char32_t, Kakoune::MemoryDomain::Options> >; void (* validator)(const T&) = Kakoune::check_matching_pairs]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh: In function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = std::vector<char32_t, Kakoune::Allocator<char32_t, Kakoune::MemoryDomain::Options> >; void (* validator)(const T&) = Kakoune::check_matching_pairs]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from main.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<int, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const int&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = int; void (* validator)(const T&) = 0]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh: In function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = int; void (* validator)(const T&) = 0]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from main.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::DebugFlags, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::DebugFlags&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::DebugFlags; void (* validator)(const T&) = 0]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh: In function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::DebugFlags; void (* validator)(const T&) = 0]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from main.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::WriteMethod, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::WriteMethod&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::WriteMethod; void (* validator)(const T&) = 0]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh: In function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::WriteMethod; void (* validator)(const T&) = 0]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from main.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::Autoreload, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::Autoreload&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::Autoreload; void (* validator)(const T&) = 0]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh: In function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::Autoreload; void (* validator)(const T&) = 0]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from main.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<std::vector<Kakoune::InsertCompleterDesc, Kakoune::Allocator<Kakoune::InsertCompleterDesc, Kakoune::MemoryDomain::Options> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const std::vector<Kakoune::InsertCompleterDesc, Kakoune::Allocator<Kakoune::InsertCompleterDesc, Kakoune::MemoryDomain::Options> >&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = std::vector<Kakoune::InsertCompleterDesc, Kakoune::Allocator<Kakoune::InsertCompleterDesc, Kakoune::MemoryDomain::Options> >; void (* validator)(const T&) = 0]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh: In function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = std::vector<Kakoune::InsertCompleterDesc, Kakoune::Allocator<Kakoune::InsertCompleterDesc, Kakoune::MemoryDomain::Options> >; void (* validator)(const T&) = 0]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from main.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<std::vector<Kakoune::String, Kakoune::Allocator<Kakoune::String, Kakoune::MemoryDomain::Options> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const std::vector<Kakoune::String, Kakoune::Allocator<Kakoune::String, Kakoune::MemoryDomain::Options> >&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = std::vector<Kakoune::String, Kakoune::Allocator<Kakoune::String, Kakoune::MemoryDomain::Options> >; void (* validator)(const T&) = 0]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh: In function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = std::vector<Kakoune::String, Kakoune::Allocator<Kakoune::String, Kakoune::MemoryDomain::Options> >; void (* validator)(const T&) = 0]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from main.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::String, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::String&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::String; void (* validator)(const T&) = 0]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh: In function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::String; void (* validator)(const T&) = 0]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from main.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::Regex, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::Regex&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::Regex; void (* validator)(const T&) = 0]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh: In function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::Regex; void (* validator)(const T&) = 0]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from main.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::AutoComplete, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::AutoComplete&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::AutoComplete; void (* validator)(const T&) = 0]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh: In function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::AutoComplete; void (* validator)(const T&) = 0]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from main.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<bool, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const bool&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = bool; void (* validator)(const T&) = 0]' at option_manager.hh:251:28: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh: In function 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = bool; void (* validator)(const T&) = 0]': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from main.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::EolFormat, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::EolFormat&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::EolFormat; void (* validator)(const T&) = 0]' at option_manager.hh:251:28, inlined from 'void Kakoune::register_options()' at main.cc:458:23: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh: In function 'void Kakoune::register_options()': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from main.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::ByteOrderMark, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::ByteOrderMark&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::ByteOrderMark; void (* validator)(const T&) = 0]' at option_manager.hh:251:28, inlined from 'void Kakoune::register_options()' at main.cc:459:23: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh: In function 'void Kakoune::register_options()': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/11/memory:76, from utils.hh:6, from face_registry.hh:5, from scope.hh:5, from buffer.hh:12, from main.cc:3: In function 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::AutoInfo, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::AutoInfo&}]', inlined from 'Kakoune::Option& Kakoune::OptionsRegistry::declare_option(Kakoune::StringView, Kakoune::StringView, const T&, Kakoune::OptionFlags) [with T = Kakoune::AutoInfo; void (* validator)(const T&) = 0]' at option_manager.hh:251:28, inlined from 'void Kakoune::register_options()' at main.cc:464:23: /usr/include/c++/11/bits/unique_ptr.h:962:30: warning: 'static void Kakoune::UseMemoryDomain<d>::operator delete(void*, size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string.hh:4, from enum.hh:4, from buffer.hh:7, from main.cc:3: memory.hh: In function 'void Kakoune::register_options()': memory.hh:156:30: note: returned from 'void* operator new(std::size_t)' 156 | return ::operator new(size); | ~~~~~~~~~~~~~~^~~~~~ c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .option_manager.opt.d -c -o .option_manager.opt.o option_manager.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .option_types.opt.d -c -o .option_types.opt.o option_types.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .parameters_parser.opt.d -c -o .parameters_parser.opt.o parameters_parser.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .ranges.opt.d -c -o .ranges.opt.o ranges.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .ranked_match.opt.d -c -o .ranked_match.opt.o ranked_match.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .regex.opt.d -c -o .regex.opt.o regex.cc c++ -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -D'KAK_BIN_PATH="/usr/pkg/bin/kak"' -pedantic -std=c++17 -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .regex_impl.opt.d -c -o .regex_impl.opt.o regex_impl.cc regex_impl.cc: In member function 'Kakoune::RegexParser::NodeIndex Kakoune::RegexParser::new_node(Kakoune::ParsedRegex::Op, Kakoune::Codepoint, Kakoune::ParsedRegex::Quantifier)': regex_impl.cc:608:41: error: 'numeric_limits' is not a member of 'std' 608 | constexpr auto max_nodes = std::numeric_limits<int16_t>::max(); | ^~~~~~~~~~~~~~ regex_impl.cc:608:63: error: expected primary-expression before '>' token 608 | constexpr auto max_nodes = std::numeric_limits<int16_t>::max(); | ^ regex_impl.cc:608:66: error: '::max' has not been declared; did you mean 'std::max'? 608 | constexpr auto max_nodes = std::numeric_limits<int16_t>::max(); | ^~~ | std::max In file included from /usr/include/c++/11/algorithm:62, from ranges.hh:4, from unicode.hh:8, from utf8.hh:5, from string.hh:7, from exception.hh:4, from regex_impl.hh:4, from regex_impl.cc:1: /usr/include/c++/11/bits/stl_algo.h:3467:5: note: 'std::max' declared here 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ regex_impl.cc: In member function 'uint32_t Kakoune::RegexCompiler::push_inst(Kakoune::CompiledRegex::Op, uint32_t)': regex_impl.cc:882:48: error: 'numeric_limits' is not a member of 'std' 882 | constexpr auto max_instructions = std::numeric_limits<int16_t>::max(); | ^~~~~~~~~~~~~~ regex_impl.cc:882:70: error: expected primary-expression before '>' token 882 | constexpr auto max_instructions = std::numeric_limits<int16_t>::max(); | ^ regex_impl.cc:882:73: error: '::max' has not been declared; did you mean 'std::max'? 882 | constexpr auto max_instructions = std::numeric_limits<int16_t>::max(); | ^~~ | std::max In file included from /usr/include/c++/11/algorithm:62, from ranges.hh:4, from unicode.hh:8, from utf8.hh:5, from string.hh:7, from exception.hh:4, from regex_impl.hh:4, from regex_impl.cc:1: /usr/include/c++/11/bits/stl_algo.h:3467:5: note: 'std::max' declared here 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ make: *** [Makefile:112: .regex_impl.opt.o] Error 1 make: *** Waiting for unfinished jobs.... *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/kakoune *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/kakoune