+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/kakoune-2020.01.16/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/kakoune-2020.01.16/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for kakoune-2020.01.16
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from alias_registry.hh:5,
                 from alias_registry.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from unicode.hh:7:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from parameters_parser.hh:11,
                 from command_manager.hh:8,
                 from alias_registry.cc:3:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
parameters_parser.hh:83:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   83 |     struct iterator : std::iterator<std::forward_iterator_tag, String>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from enum.hh:4,
                 from buffer.hh:7,
                 from buffer_utils.hh:4,
                 from assert.cc:4:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from constexpr_utils.hh:8,
                 from buffer.hh:6:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11,
                 from scope.hh:9,
                 from buffer.hh:12:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from backtrace.cc:3:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from unicode.hh:7:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from enum.hh:4,
                 from buffer.hh:7,
                 from buffer.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from constexpr_utils.hh:8,
                 from buffer.hh:6:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11,
                 from scope.hh:9,
                 from buffer.hh:12:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from enum.hh:4,
                 from buffer.hh:7,
                 from buffer_manager.hh:4,
                 from buffer_manager.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from constexpr_utils.hh:8,
                 from buffer.hh:6:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11,
                 from scope.hh:9,
                 from buffer.hh:12:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from enum.hh:4,
                 from buffer.hh:7,
                 from buffer_utils.hh:4,
                 from buffer_utils.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from constexpr_utils.hh:8,
                 from buffer.hh:6:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11,
                 from scope.hh:9,
                 from buffer.hh:12:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from enum.hh:4,
                 from buffer.hh:7,
                 from changes.hh:4,
                 from changes.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from constexpr_utils.hh:8,
                 from buffer.hh:6:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11,
                 from scope.hh:9,
                 from buffer.hh:12:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from display_buffer.hh:8,
                 from client.hh:5,
                 from client.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from constexpr_utils.hh:8,
                 from client.hh:4:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11,
                 from scope.hh:9,
                 from buffer.hh:12,
                 from selection.hh:4,
                 from context.hh:4,
                 from input_handler.hh:6,
                 from client.hh:7:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from command_manager.hh:8,
                 from client.cc:12:
parameters_parser.hh:83:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   83 |     struct iterator : std::iterator<std::forward_iterator_tag, String>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from display_buffer.hh:8,
                 from client.hh:5,
                 from client_manager.hh:4,
                 from client_manager.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from constexpr_utils.hh:8,
                 from client.hh:4:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11,
                 from scope.hh:9,
                 from buffer.hh:12,
                 from selection.hh:4,
                 from context.hh:4,
                 from input_handler.hh:6,
                 from client.hh:7:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from command_manager.hh:8,
                 from client_manager.cc:4:
parameters_parser.hh:83:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   83 |     struct iterator : std::iterator<std::forward_iterator_tag, String>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from exception.hh:4,
                 from color.cc:3:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from unicode.hh:7:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from color.cc:5:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from completion.hh:8,
                 from command_manager.hh:5,
                 from command_manager.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/hashtable_policy.h:36,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/hashtable.h:35,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/unordered_map.h:33,
                 from /opt/tools/gcc13/include/c++/13.2.0/unordered_map:41,
                 from /opt/tools/gcc13/include/c++/13.2.0/functional:63,
                 from completion.hh:4:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from parameters_parser.hh:11,
                 from command_manager.hh:8:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
parameters_parser.hh:83:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   83 |     struct iterator : std::iterator<std::forward_iterator_tag, String>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from command_manager.cc:12:
regex.hh:48:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   48 |     struct iterator : std::iterator<std::bidirectional_iterator_tag, SubMatch, size_t, SubMatch*, SubMatch>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from enum.hh:4,
                 from buffer.hh:7,
                 from commands.cc:3:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from constexpr_utils.hh:8,
                 from buffer.hh:6:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11,
                 from scope.hh:9,
                 from buffer.hh:12:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from command_manager.hh:8,
                 from commands.cc:8:
parameters_parser.hh:83:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   83 |     struct iterator : std::iterator<std::forward_iterator_tag, String>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from commands.cc:24:
regex.hh:48:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   48 |     struct iterator : std::iterator<std::bidirectional_iterator_tag, SubMatch, size_t, SubMatch*, SubMatch>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
commands.cc: In lambda function:
commands.cc:2469:50: warning: redundant move in initialization [-Wredundant-move]
 2469 |         context.keymaps().add_user_mode(std::move(parser[0]));
      |                                         ~~~~~~~~~^~~~~~~~~~~
commands.cc:2469:50: note: remove 'std::move' call
commands.cc: In lambda function:
commands.cc:2523:43: warning: redundant move in initialization [-Wredundant-move]
 2523 |         enter_user_mode(context, std::move(parser[0]), mode, lock);
      |                                  ~~~~~~~~~^~~~~~~~~~~
commands.cc:2523:43: note: remove 'std::move' call
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:
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = int; void (* validator)(const T&) = 0]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::Regex; void (* validator)(const T&) = 0]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from '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]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from '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]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from '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]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from '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]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from '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]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::String; void (* validator)(const T&) = 0]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = bool; void (* validator)(const T&) = 0]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from '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]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78,
                 from utils.hh:6,
                 from face_registry.hh:5,
                 from scope.hh:5:
In function 'std::__detail::__unique_ptr_t<_Tp> 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<int, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const int&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<bool, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const bool&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::String, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::String&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::Regex, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::Regex&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<vector<int, Kakoune::Allocator<int, Kakoune::MemoryDomain::Options> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<vector<int, Kakoune::Allocator<int, Kakoune::MemoryDomain::Options> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const vector<int, Kakoune::Allocator<int, Kakoune::MemoryDomain::Options> >&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<vector<Kakoune::String, Kakoune::Allocator<Kakoune::String, Kakoune::MemoryDomain::Options> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<vector<Kakoune::String, Kakoune::Allocator<Kakoune::String, Kakoune::MemoryDomain::Options> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const vector<Kakoune::String, Kakoune::Allocator<Kakoune::String, Kakoune::MemoryDomain::Options> >&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::PrefixedList<Kakoune::String, tuple<Kakoune::String, Kakoune::String, Kakoune::String> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::PrefixedList<Kakoune::String, 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::PrefixedList<Kakoune::String, tuple<Kakoune::String, Kakoune::String, Kakoune::String> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::PrefixedList<Kakoune::String, tuple<Kakoune::String, Kakoune::String, Kakoune::String> >&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::PrefixedList<long unsigned int, tuple<Kakoune::LineCount, Kakoune::String> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::PrefixedList<long unsigned int, 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::PrefixedList<long unsigned int, tuple<Kakoune::LineCount, Kakoune::String> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::PrefixedList<long unsigned int, tuple<Kakoune::LineCount, Kakoune::String> >&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::PrefixedList<long unsigned int, tuple<Kakoune::InclusiveBufferRange, Kakoune::String> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::PrefixedList<long unsigned int, 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::PrefixedList<long unsigned int, tuple<Kakoune::InclusiveBufferRange, Kakoune::String> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::PrefixedList<long unsigned int, tuple<Kakoune::InclusiveBufferRange, Kakoune::String> >&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from completion.hh:8,
                 from completion.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/hashtable_policy.h:36,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/hashtable.h:35,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/unordered_map.h:33,
                 from /opt/tools/gcc13/include/c++/13.2.0/unordered_map:41,
                 from /opt/tools/gcc13/include/c++/13.2.0/functional:63,
                 from completion.hh:4:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11,
                 from scope.hh:9,
                 from buffer.hh:12,
                 from selection.hh:4,
                 from context.hh:4,
                 from completion.cc:3:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from completion.cc:5:
regex.hh:48:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   48 |     struct iterator : std::iterator<std::bidirectional_iterator_tag, SubMatch, size_t, SubMatch*, SubMatch>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from enum.hh:4,
                 from buffer.hh:7,
                 from selection.hh:4,
                 from context.hh:4,
                 from context.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from constexpr_utils.hh:8,
                 from buffer.hh:6:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11,
                 from scope.hh:9,
                 from buffer.hh:12:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from display_buffer.hh:8,
                 from display_buffer.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from unicode.hh:7:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11,
                 from scope.hh:9,
                 from buffer.hh:12,
                 from display_buffer.cc:4:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from env_vars.cc:3:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65,
                 from /opt/tools/gcc13/include/c++/13.2.0/vector:62,
                 from vector.hh:6,
                 from hash_map.hh:6,
                 from env_vars.hh:4,
                 from env_vars.cc:1:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from event_manager.cc:4:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_construct.h:61,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_tempbuf.h:61,
                 from /opt/tools/gcc13/include/c++/13.2.0/memory:66,
                 from utils.hh:6,
                 from event_manager.hh:6,
                 from event_manager.cc:1:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from exception.hh:4,
                 from exception.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from unicode.hh:7:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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 face_registry.hh:7,
                 from face_registry.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_construct.h:61,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_tempbuf.h:61,
                 from /opt/tools/gcc13/include/c++/13.2.0/memory:66,
                 from utils.hh:6,
                 from face_registry.hh:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from face_registry.cc:5:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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 unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from enum.hh:4,
                 from file.hh:5,
                 from file.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from file.hh:4:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11,
                 from scope.hh:9,
                 from buffer.hh:12,
                 from file.cc:4:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from file.cc:9:
regex.hh:48:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   48 |     struct iterator : std::iterator<std::bidirectional_iterator_tag, SubMatch, size_t, SubMatch*, SubMatch>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
file.cc: In function 'Kakoune::String Kakoune::get_kak_binary_path()':
file.cc:621:10: warning: unused variable 'buffer' [-Wunused-variable]
  621 |     char buffer[2048];
      |          ^~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from hash_map.cc:4:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65,
                 from /opt/tools/gcc13/include/c++/13.2.0/vector:62,
                 from vector.hh:6,
                 from hash_map.hh:6,
                 from hash_map.cc:1:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11,
                 from scope.hh:9,
                 from buffer.hh:12,
                 from buffer_utils.hh:4,
                 from hash_map.cc:5:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from completion.hh:8,
                 from highlighter.hh:5,
                 from highlighter.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/hashtable_policy.h:36,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/hashtable.h:35,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/unordered_map.h:33,
                 from /opt/tools/gcc13/include/c++/13.2.0/unordered_map:41,
                 from /opt/tools/gcc13/include/c++/13.2.0/functional:63,
                 from completion.hh:4:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11,
                 from scope.hh:9,
                 from buffer.hh:12,
                 from buffer_utils.hh:4,
                 from highlighter.cc:3:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from exception.hh:4,
                 from highlighter_group.hh:4,
                 from highlighter_group.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from unicode.hh:7:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from highlighter_group.cc:4:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from completion.hh:8,
                 from highlighter.hh:5,
                 from highlighters.hh:5,
                 from highlighters.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/hashtable_policy.h:36,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/hashtable.h:35,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/unordered_map.h:33,
                 from /opt/tools/gcc13/include/c++/13.2.0/unordered_map:41,
                 from /opt/tools/gcc13/include/c++/13.2.0/functional:63,
                 from completion.hh:4:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11,
                 from scope.hh:9,
                 from buffer.hh:12,
                 from buffer_utils.hh:4,
                 from highlighters.cc:4:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from command_manager.hh:8,
                 from highlighters.cc:6:
parameters_parser.hh:83:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   83 |     struct iterator : std::iterator<std::forward_iterator_tag, String>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from highlighters.cc:15:
regex.hh:48:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   48 |     struct iterator : std::iterator<std::bidirectional_iterator_tag, SubMatch, size_t, SubMatch*, SubMatch>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from completion.hh:8,
                 from hook_manager.hh:5,
                 from hook_manager.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65,
                 from /opt/tools/gcc13/include/c++/13.2.0/vector:62,
                 from vector.hh:6,
                 from hash_map.hh:6,
                 from hook_manager.hh:4:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11,
                 from scope.hh:9,
                 from buffer.hh:12,
                 from buffer_utils.hh:4,
                 from hook_manager.cc:3:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from command_manager.hh:8,
                 from hook_manager.cc:5:
parameters_parser.hh:83:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   83 |     struct iterator : std::iterator<std::forward_iterator_tag, String>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from hook_manager.cc:12:
regex.hh:48:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   48 |     struct iterator : std::iterator<std::bidirectional_iterator_tag, SubMatch, size_t, SubMatch*, SubMatch>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from completion.hh:8,
                 from input_handler.hh:4,
                 from input_handler.cc:3:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/hashtable_policy.h:36,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/hashtable.h:35,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/unordered_map.h:33,
                 from /opt/tools/gcc13/include/c++/13.2.0/unordered_map:41,
                 from /opt/tools/gcc13/include/c++/13.2.0/functional:63,
                 from completion.hh:4:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11,
                 from scope.hh:9,
                 from buffer.hh:12,
                 from selection.hh:4,
                 from context.hh:4,
                 from input_handler.hh:6:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from command_manager.hh:8,
                 from input_handler.cc:7:
parameters_parser.hh:83:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   83 |     struct iterator : std::iterator<std::forward_iterator_tag, String>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from input_handler.cc:14:
regex.hh:48:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   48 |     struct iterator : std::iterator<std::bidirectional_iterator_tag, SubMatch, size_t, SubMatch*, SubMatch>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from completion.hh:8,
                 from option_manager.hh:4,
                 from insert_completer.hh:4,
                 from insert_completer.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/hashtable_policy.h:36,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/hashtable.h:35,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/unordered_map.h:33,
                 from /opt/tools/gcc13/include/c++/13.2.0/unordered_map:41,
                 from /opt/tools/gcc13/include/c++/13.2.0/functional:63,
                 from completion.hh:4:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from command_manager.hh:8,
                 from insert_completer.cc:6:
parameters_parser.hh:83:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   83 |     struct iterator : std::iterator<std::forward_iterator_tag, String>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from insert_completer.cc:12:
regex.hh:48:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   48 |     struct iterator : std::iterator<std::bidirectional_iterator_tag, SubMatch, size_t, SubMatch*, SubMatch>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from json.hh:5,
                 from json.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65,
                 from /opt/tools/gcc13/include/c++/13.2.0/vector:62,
                 from vector.hh:6,
                 from hash_map.hh:6,
                 from json.hh:4:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from json.cc:4:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from json_ui.hh:7,
                 from json_ui.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from user_interface.hh:4,
                 from json_ui.hh:4:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from json_ui.cc:10:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from keys.hh:9,
                 from keymap_manager.hh:5,
                 from keymap_manager.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from keymap_manager.hh:4:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from keymap_manager.cc:6:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from keys.hh:9,
                 from keys.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from unicode.hh:7:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from keys.cc:9:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from enum.hh:4,
                 from buffer.hh:7,
                 from line_modification.cc:3:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from line_modification.hh:4,
                 from line_modification.cc:1:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11,
                 from scope.hh:9,
                 from buffer.hh:12:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from enum.hh:4,
                 from buffer.hh:7,
                 from main.cc:3:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from constexpr_utils.hh:8,
                 from buffer.hh:6:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11,
                 from scope.hh:9,
                 from buffer.hh:12:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from command_manager.hh:8,
                 from main.cc:7:
parameters_parser.hh:83:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   83 |     struct iterator : std::iterator<std::forward_iterator_tag, String>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from main.cc:20:
regex.hh:48:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   48 |     struct iterator : std::iterator<std::bidirectional_iterator_tag, SubMatch, size_t, SubMatch*, SubMatch>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
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:
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = int; void (* validator)(const T&) = Kakoune::check_tabstop]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = int; void (* validator)(const T&) = 0]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = int; void (* validator)(const T&) = Kakoune::check_indentwidth]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = int; void (* validator)(const T&) = Kakoune::check_timeout]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from '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]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from '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]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::DebugFlags; void (* validator)(const T&) = 0]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from '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]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::WriteMethod; void (* validator)(const T&) = 0]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::Autoreload; void (* validator)(const T&) = 0]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from '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]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from '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]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::String; void (* validator)(const T&) = 0]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::Regex; void (* validator)(const T&) = 0]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::AutoComplete; void (* validator)(const T&) = 0]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::AutoInfo; void (* validator)(const T&) = 0]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = bool; void (* validator)(const T&) = 0]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::ByteOrderMark; void (* validator)(const T&) = 0]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::EolFormat; void (* validator)(const T&) = 0]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
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 static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'Kakoune::Option* Kakoune::TypedCheckedOption<T, validator>::clone(Kakoune::OptionManager&) const [with T = Kakoune::DisplayCoord; void (* validator)(const T&) = Kakoune::check_scrolloff]' at option_manager.hh:189:16:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/memory:78,
                 from utils.hh:6,
                 from face_registry.hh:5,
                 from scope.hh:5:
In function 'std::__detail::__unique_ptr_t<_Tp> 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<int, Kakoune::check_tabstop>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const int&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<int, Kakoune::check_indentwidth>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const int&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::DisplayCoord, Kakoune::check_scrolloff>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::DisplayCoord&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<int, Kakoune::check_timeout>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const int&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<vector<char32_t, Kakoune::Allocator<char32_t, Kakoune::MemoryDomain::Options> >, Kakoune::check_extra_word_chars>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<vector<char32_t, Kakoune::Allocator<char32_t, Kakoune::MemoryDomain::Options> >, Kakoune::check_extra_word_chars>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const vector<char32_t, Kakoune::Allocator<char32_t, Kakoune::MemoryDomain::Options> >&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<vector<char32_t, Kakoune::Allocator<char32_t, Kakoune::MemoryDomain::Options> >, Kakoune::check_matching_pairs>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<vector<char32_t, Kakoune::Allocator<char32_t, Kakoune::MemoryDomain::Options> >, Kakoune::check_matching_pairs>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const vector<char32_t, Kakoune::Allocator<char32_t, Kakoune::MemoryDomain::Options> >&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<int, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const int&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::DebugFlags, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::DebugFlags&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::WriteMethod, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::WriteMethod&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::Autoreload, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::Autoreload&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<vector<Kakoune::InsertCompleterDesc, Kakoune::Allocator<Kakoune::InsertCompleterDesc, Kakoune::MemoryDomain::Options> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<vector<Kakoune::InsertCompleterDesc, Kakoune::Allocator<Kakoune::InsertCompleterDesc, Kakoune::MemoryDomain::Options> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const vector<Kakoune::InsertCompleterDesc, Kakoune::Allocator<Kakoune::InsertCompleterDesc, Kakoune::MemoryDomain::Options> >&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<vector<Kakoune::String, Kakoune::Allocator<Kakoune::String, Kakoune::MemoryDomain::Options> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<vector<Kakoune::String, Kakoune::Allocator<Kakoune::String, Kakoune::MemoryDomain::Options> >, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const vector<Kakoune::String, Kakoune::Allocator<Kakoune::String, Kakoune::MemoryDomain::Options> >&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::String, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::String&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::Regex, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::Regex&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::AutoComplete, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::AutoComplete&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> 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:253:5:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<bool, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const bool&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> 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:253:5,
    inlined from 'void Kakoune::register_options()' at main.cc:458:23:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::EolFormat, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::EolFormat&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5,
    inlined from 'void Kakoune::register_options()' at main.cc:458:23:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> 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:253:5,
    inlined from 'void Kakoune::register_options()' at main.cc:459:23:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::ByteOrderMark, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::ByteOrderMark&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5,
    inlined from 'void Kakoune::register_options()' at main.cc:459:23:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
In function 'std::__detail::__unique_ptr_t<_Tp> 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:253:5,
    inlined from 'void Kakoune::register_options()' at main.cc:464:23:
/opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070: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]
 1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static void* Kakoune::UseMemoryDomain<d>::operator new(size_t) [with Kakoune::MemoryDomain d = Kakoune::MemoryDomain::Options]',
    inlined from 'std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = Kakoune::TypedCheckedOption<Kakoune::AutoInfo, 0>; _Args = {Kakoune::OptionManager&, const Kakoune::OptionDesc&, const Kakoune::AutoInfo&}]' at /opt/tools/gcc13/include/c++/13.2.0/bits/unique_ptr.h:1070:30,
    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:253:5,
    inlined from 'void Kakoune::register_options()' at main.cc:464:23:
memory.hh:156:30: note: returned from 'void* operator new(size_t)'
  156 |         return ::operator new(size);
      |                ~~~~~~~~~~~~~~^~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -D__EXTENSIONS__ -DNCURSES_WIDECHAR -I/opt/pkg/include/ncursesw -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from display_buffer.hh:8,
                 from ncurses_ui.hh:6,
                 from ncurses_ui.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from ncurses_ui.hh:4:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from ncurses_ui.cc:9:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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 unicode.hh:8,
                 from keys.hh:9,
                 from normal.hh:5,
                 from normal.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from unicode.hh:7:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11,
                 from scope.hh:9,
                 from buffer.hh:12,
                 from normal.cc:3:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from command_manager.hh:8,
                 from normal.cc:8:
parameters_parser.hh:83:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   83 |     struct iterator : std::iterator<std::forward_iterator_tag, String>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from normal.cc:19:
regex.hh:48:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   48 |     struct iterator : std::iterator<std::bidirectional_iterator_tag, SubMatch, size_t, SubMatch*, SubMatch>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from completion.hh:8,
                 from option_manager.hh:4,
                 from option_manager.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/hashtable_policy.h:36,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/hashtable.h:35,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/unordered_map.h:33,
                 from /opt/tools/gcc13/include/c++/13.2.0/unordered_map:41,
                 from /opt/tools/gcc13/include/c++/13.2.0/functional:63,
                 from completion.hh:4:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_manager.hh:11:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from exception.hh:4,
                 from option_types.hh:6,
                 from option_types.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from option_types.hh:4:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from option_types.hh:12:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from exception.hh:4,
                 from parameters_parser.hh:4,
                 from parameters_parser.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from unicode.hh:7:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from parameters_parser.hh:11:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
parameters_parser.hh:83:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   83 |     struct iterator : std::iterator<std::forward_iterator_tag, String>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from ranges.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:65,
                 from /opt/tools/gcc13/include/c++/13.2.0/algorithm:60,
                 from ranges.hh:4:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from ranges.cc:4:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from ranked_match.hh:4,
                 from ranked_match.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from unicode.hh:7:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included from unicode.hh:8,
                 from utf8.hh:5,
                 from string.hh:7,
                 from regex.hh:4,
                 from regex.cc:1:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from unicode.hh:7:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
regex.hh:48:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   48 |     struct iterator : std::iterator<std::bidirectional_iterator_tag, SubMatch, size_t, SubMatch*, SubMatch>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
g++ -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D'KAK_BIN_PATH="/opt/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
In file included 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:
ranges.hh:81:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   81 |     struct Iterator : std::iterator<std::forward_iterator_tag,
      |                            ^~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.2.0/iterator:61,
                 from array_view.hh:5,
                 from unicode.hh:7:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:230:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  230 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
ranges.hh:327:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  327 |     struct Iterator : std::iterator<std::forward_iterator_tag, ValueType>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from regex_impl.cc:9:
string_utils.hh:67:28: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   67 |     struct Iterator : std::iterator<std::forward_iterator_tag, StringView>
      |                            ^~~~~~~~
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
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 /opt/tools/gcc13/include/c++/13.2.0/algorithm:61,
                 from ranges.hh:4:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_algo.h:5805:5: note: 'std::max' declared here
 5805 |     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
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_algo.h:5805:5: note: 'std::max' declared here
 5805 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
gmake: *** [Makefile:112: .regex_impl.opt.o] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/kakoune
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/kakoune