+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/py311-sentencepiece-0.1.97/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/py311-sentencepiece-0.1.97/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for py311-sentencepiece-0.1.97 (cd /home/pbulk/build/textproc/py-sentencepiece/work/sentencepiece-0.1.97/python/ && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr DL_CFLAGS= DL_LDFLAGS= DL_LIBS= PYTHON=/opt/pkg/bin/python3.11 CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/pkg/include\ -I/usr/include\ -I/opt/pkg/include/python3.11 CPPFLAGS=-I/opt/pkg/include\ -I/usr/include\ -I/opt/pkg/include/python3.11 CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/pkg/include\ -I/usr/include\ -I/opt/pkg/include/python3.11 COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -lintl\ -liconv LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/textproc/py-sentencepiece/work/.cwrapper/bin:/home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/bin:/home/pbulk/build/textproc/py-sentencepiece/work/.gcc/bin:/home/pbulk/build/textproc/py-sentencepiece/work/.tools/bin:/opt/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/etc/opt/pkg HOME=/home/pbulk/build/textproc/py-sentencepiece/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/textproc/py-sentencepiece/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/pkg/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/textproc/py-sentencepiece/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/textproc/py-sentencepiece/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/textproc/py-sentencepiece/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/textproc/py-sentencepiece/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/lib/pkgconfig:/home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/textproc/py-sentencepiece/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/textproc/py-sentencepiece/work/.cwrapper/config /opt/pkg/bin/python3.11 setup.py build -j1) running build running build_py creating build creating build/lib.solaris-2.11-i86pc.64bit-cpython-311 creating build/lib.solaris-2.11-i86pc.64bit-cpython-311/sentencepiece copying src/sentencepiece/__init__.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/sentencepiece copying src/sentencepiece/_version.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/sentencepiece copying src/sentencepiece/sentencepiece_model_pb2.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/sentencepiece copying src/sentencepiece/sentencepiece_pb2.py -> build/lib.solaris-2.11-i86pc.64bit-cpython-311/sentencepiece running build_ext -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lsentencepiece -lsentencepiece_train ## cflags=-std=c++17 -I./bundled/root/include -I/opt/pkg/include -Wl,-strip-all ## libs=-Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lsentencepiece -lsentencepiece_train -Wl,-strip-all building 'sentencepiece._sentencepiece' extension creating build/temp.solaris-2.11-i86pc.64bit-cpython-311 creating build/temp.solaris-2.11-i86pc.64bit-cpython-311/src creating build/temp.solaris-2.11-i86pc.64bit-cpython-311/src/sentencepiece gcc -Wsign-compare -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPKGSRC_OPSYS_VERSION=051100 -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/db4 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPKGSRC_OPSYS_VERSION=051100 -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/db4 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPKGSRC_OPSYS_VERSION=051100 -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/db4 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.11 -fPIC -I/opt/pkg/include/python3.11 -c src/sentencepiece/sentencepiece_wrap.cxx -o build/temp.solaris-2.11-i86pc.64bit-cpython-311/src/sentencepiece/sentencepiece_wrap.o -std=c++17 -I./bundled/root/include -I/opt/pkg/include -Wl,-strip-all In file included from /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/Python.h:39, from src/sentencepiece/sentencepiece_wrap.cxx:178: /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h: In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*)': /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:47, from /opt/tools/gcc12/include/c++/12.2.0/string:53, from /opt/tools/gcc12/include/c++/12.2.0/stdexcept:39, from src/sentencepiece/sentencepiece_wrap.cxx:2741: /opt/tools/gcc12/include/c++/12.2.0/string_view: At global scope: /opt/tools/gcc12/include/c++/12.2.0/string_view:102:21: error: expected identifier before '!' token 102 | static_assert(!is_array_v<_CharT>); | ^ /opt/tools/gcc12/include/c++/12.2.0/string_view:102:21: error: expected ',' or '...' before '!' token /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/string_view:103:21: error: expected identifier 103 | static_assert(is_trivial_v<_CharT> && is_standard_layout_v<_CharT>); | ^~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/string_view:103:42: error: expected unqualified-id before '&&' token 103 | static_assert(is_trivial_v<_CharT> && is_standard_layout_v<_CharT>); | ^~ /opt/tools/gcc12/include/c++/12.2.0/string_view:103:41: error: expected ')' before '&&' token 103 | static_assert(is_trivial_v<_CharT> && is_standard_layout_v<_CharT>); | ~ ^~~ | ) /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/string_view:103:42: error: expected ';' at end of member declaration 103 | static_assert(is_trivial_v<_CharT> && is_standard_layout_v<_CharT>); | ^~ | ; /opt/tools/gcc12/include/c++/12.2.0/string_view:103:45: error: 'is_standard_layout_v<_CharT>' does not name a type 103 | static_assert(is_trivial_v<_CharT> && is_standard_layout_v<_CharT>); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/string_view:104:21: error: expected identifier 104 | static_assert(is_same_v<_CharT, typename _Traits::char_type>); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/string_view:104:67: error: expected unqualified-id before ')' token 104 | static_assert(is_same_v<_CharT, typename _Traits::char_type>); | ^ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::basic_string_view<_CharT, _Traits>::_Static_assert(...)' cannot be overloaded with 'int std::basic_string_view<_CharT, _Traits>::_Static_assert(...) &&' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::basic_string_view<_CharT, _Traits>::_Static_assert(...) &&' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/bits/stl_algo.h:65, from /opt/tools/gcc12/include/c++/12.2.0/algorithm:61, from src/sentencepiece/sentencepiece_wrap.cxx:2816: /opt/tools/gcc12/include/c++/12.2.0/bits/uniform_int_dist.h:79:21: error: 'std::is_integral<_Tp>::value' is not a type 79 | static_assert(std::is_integral<_IntType>::value, | ^~~ /opt/tools/gcc12/include/c++/12.2.0/bits/uniform_int_dist.h:80:21: error: expected identifier before string constant 80 | "template argument must be an integral type"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/uniform_int_dist.h:80:21: error: expected ',' or '...' before string constant /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/tuple:39, from /opt/tools/gcc12/include/c++/12.2.0/functional:54, from src/sentencepiece/sentencepiece_wrap.cxx:2817: /opt/tools/gcc12/include/c++/12.2.0/bits/uses_allocator.h:97:21: error: 'std::__or_, std::is_constructible<_Tp, _Args ..., const _Alloc&> >::value' is not a type 97 | static_assert(__or_< | ^~~~~~ 98 | is_constructible<_Tp, allocator_arg_t, const _Alloc&, _Args...>, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 99 | is_constructible<_Tp, _Args..., const _Alloc&>>::value, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/uses_allocator.h:100:11: error: expected identifier before string constant 100 | "construction with an allocator must be possible" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/uses_allocator.h:100:11: error: expected ',' or '...' before string constant /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/tuple:1357:21: error: '__i' is not a type 1357 | static_assert(__i < sizeof...(_Types), "tuple index must be in range"); | ^~~ /opt/tools/gcc12/include/c++/12.2.0/tuple:1357:25: error: expected ',' or '...' before '<' token 1357 | static_assert(__i < sizeof...(_Types), "tuple index must be in range"); | ^ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/tuple: In function 'constexpr _Tp& std::get(tuple<_UTypes ...>&)': /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/tuple: In function 'constexpr _Tp&& std::get(tuple<_UTypes ...>&&)': /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/tuple: In function 'constexpr const _Tp& std::get(const tuple<_UTypes ...>&)': /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/tuple: In function 'constexpr const _Tp&& std::get(const tuple<_UTypes ...>&&)': /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/tuple: In function 'constexpr bool std::operator==(const tuple<_UTypes ...>&, const tuple<_UTypes ...>&)': /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/tuple: In function 'constexpr bool std::operator<(const tuple<_UTypes ...>&, const tuple<_UTypes ...>&)': /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:35, from /opt/tools/gcc12/include/c++/12.2.0/unordered_map:46, from /opt/tools/gcc12/include/c++/12.2.0/functional:61: /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable_policy.h: At global scope: /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable_policy.h:1411:22: error: 'std::is_empty<_Alloc>::value' is not a type 1411 | static_assert( std::is_empty<_Tp>::value, "Type must be empty" ); | ^~~ /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable_policy.h:1411:49: error: expected identifier before string constant 1411 | static_assert( std::is_empty<_Tp>::value, "Type must be empty" ); | ^~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable_policy.h:1411:49: error: expected ',' or '...' before string constant /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:203:21: error: 'std::is_same::type, _Value>::value' is not a type 203 | static_assert(is_same::type, _Value>::value, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:204:11: error: expected identifier before string constant 204 | "unordered container must have a non-const, non-volatile value_type"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:204:11: error: expected ',' or '...' before string constant /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:206:65: error: expected ')' before '{' token 206 | static_assert(is_same{}, | ~ ^ | ) /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:206:67: error: expected unqualified-id before ',' token 206 | static_assert(is_same{}, | ^ /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:336:21: error: 'std::is_nothrow_default_constructible<_RangeHash>::value' is not a type 336 | static_assert(is_nothrow_default_constructible<_RangeHash>::value, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:337:21: error: expected identifier before string constant 337 | "Functor used to map hash code to bucket index" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:337:21: error: expected ',' or '...' before string constant /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Static_assert(int, int)' cannot be overloaded with 'int std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Static_assert(int, int)' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Static_assert(int, int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:339:21: error: expected identifier before 'noexcept' 339 | static_assert(noexcept( | ^~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:339:21: error: expected ',' or '...' before 'noexcept' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:345:21: error: 'std::is_nothrow_default_constructible<_ExtractKey>::value' is not a type 345 | static_assert(is_nothrow_default_constructible<_ExtractKey>::value, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:346:21: error: expected identifier before string constant 346 | "_ExtractKey must be nothrow default constructible"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:346:21: error: expected ',' or '...' before string constant /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Static_assert(int, int)' cannot be overloaded with 'int std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Static_assert(int, int)' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Static_assert(int, int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:347:21: error: expected identifier before 'noexcept' 347 | static_assert(noexcept( | ^~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:347:21: error: expected ',' or '...' before 'noexcept' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Static_assert(int)' cannot be overloaded with 'int std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Static_assert(int)' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/vector:64, from /opt/tools/gcc12/include/c++/12.2.0/functional:62: /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:435:21: error: 'std::is_same::type, _Tp>::value' is not a type 435 | static_assert(is_same::type, _Tp>::value, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:436:11: error: expected identifier before string constant 436 | "std::vector must have a non-const, non-volatile value_type"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:436:11: error: expected ',' or '...' before string constant /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:438:21: error: 'std::is_same::value' is not a type 438 | static_assert(is_same::value, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:439:11: error: expected identifier before string constant 439 | "std::vector must have the same value_type as its allocator"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:439:11: error: expected ',' or '...' before string constant /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::vector<_Tp, _Alloc>::_Static_assert(int, int)' cannot be overloaded with 'int std::vector<_Tp, _Alloc>::_Static_assert(int, int)' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::vector<_Tp, _Alloc>::_Static_assert(int, int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/array: In function 'constexpr _Tp& std::get(array<_Tp, _Nm>&)': /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/array: In function 'constexpr _Tp&& std::get(array<_Tp, _Nm>&&)': /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/array: In function 'constexpr const _Tp& std::get(const array<_Tp, _Nm>&)': /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/array: In function 'constexpr const _Tp&& std::get(const array<_Tp, _Nm>&&)': /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/functional:63: /opt/tools/gcc12/include/c++/12.2.0/array: At global scope: /opt/tools/gcc12/include/c++/12.2.0/array:478:21: error: '_Ind' is not a type 478 | static_assert(_Ind < _Nm, "array index is in range"); | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/array:478:26: error: expected ',' or '...' before '<' token 478 | static_assert(_Ind < _Nm, "array index is in range"); | ^ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/functional:803:21: error: expected identifier before 'sizeof' 803 | static_assert(sizeof...(_BoundArgs) == sizeof...(_Args), | ^~~~~~ /opt/tools/gcc12/include/c++/12.2.0/functional:803:21: error: expected ',' or '...' before 'sizeof' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/functional:810:21: error: expected identifier before 'sizeof' 810 | static_assert(sizeof...(_BoundArgs) >= sizeof...(_Args), | ^~~~~~ /opt/tools/gcc12/include/c++/12.2.0/functional:810:21: error: expected ',' or '...' before 'sizeof' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/functional:819:21: error: '_Varargs::value' is not a type 819 | static_assert(_Varargs::value | ^~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/functional:820:21: error: expected ',' or '...' before '?' token 820 | ? sizeof...(_BoundArgs) >= _Arity::value + 1 | ^ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/unique_ptr.h: In member function 'void std::default_delete<_Tp>::operator()(_Tp*) const': /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/unique_ptr.h: In member function 'typename std::enable_if::value>::type std::default_delete<_Tp []>::operator()(_Up*) const': /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/bits/std_thread.h:43, from /opt/tools/gcc12/include/c++/12.2.0/thread:43, from src/sentencepiece/sentencepiece_wrap.cxx:2820: /opt/tools/gcc12/include/c++/12.2.0/bits/unique_ptr.h: At global scope: /opt/tools/gcc12/include/c++/12.2.0/bits/unique_ptr.h:162:22: error: expected identifier before '!' token 162 | static_assert( !is_rvalue_reference<_Dp>::value, | ^ /opt/tools/gcc12/include/c++/12.2.0/bits/unique_ptr.h:162:22: error: expected ',' or '...' before '!' token /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:37, from /opt/tools/gcc12/include/c++/12.2.0/bits/this_thread_sleep.h:36, from /opt/tools/gcc12/include/c++/12.2.0/thread:44: /opt/tools/gcc12/include/c++/12.2.0/ratio:98:21: error: '__a1' is not a type 98 | static_assert(__a1 == 0 || __b1 == 0, | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:98:26: error: expected ',' or '...' before '==' token 98 | static_assert(__a1 == 0 || __b1 == 0, | ^~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:100:21: error: '__a0' is not a type 100 | static_assert(__a0 * __b1 + __b0 * __a1 < (__c >> 1), | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:100:33: error: expected ',' or '...' before '+' token 100 | static_assert(__a0 * __b1 + __b0 * __a1 < (__c >> 1), | ^ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:102:21: error: '__b0' is not a type 102 | static_assert(__b0 * __a0 <= __INTMAX_MAX__, | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:102:33: error: expected ',' or '...' before '<=' token 102 | static_assert(__b0 * __a0 <= __INTMAX_MAX__, | ^~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__safe_multiply<_Pn, _Qn>::_Static_assert(int*)' cannot be overloaded with 'int std::__safe_multiply<_Pn, _Qn>::_Static_assert(int*)' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__safe_multiply<_Pn, _Qn>::_Static_assert(int*)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:104:21: error: expected identifier before '(' token 104 | static_assert((__a0 * __b1 + __b0 * __a1) * __c | ^ /opt/tools/gcc12/include/c++/12.2.0/ratio:104:26: error: expected ')' before '*' token 104 | static_assert((__a0 * __b1 + __b0 * __a1) * __c | ~ ^~ | ) /opt/tools/gcc12/include/c++/12.2.0/ratio:104:26: error: expected ')' before '*' token 104 | static_assert((__a0 * __b1 + __b0 * __a1) * __c | ~ ^~ | ) /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:104:22: error: expected ';' at end of member declaration 104 | static_assert((__a0 * __b1 + __b0 * __a1) * __c | ^~~~ | ; /opt/tools/gcc12/include/c++/12.2.0/ratio:104:29: error: expected ';' at end of member declaration 104 | static_assert((__a0 * __b1 + __b0 * __a1) * __c | ^~~~ | ; /opt/tools/gcc12/include/c++/12.2.0/ratio:104:29: error: 'int* std::__safe_multiply<_Pn, _Qn>::__b1' conflicts with a previous declaration /opt/tools/gcc12/include/c++/12.2.0/ratio:96:30: note: previous declaration 'const uintmax_t std::__safe_multiply<_Pn, _Qn>::__b1' 96 | static const uintmax_t __b1 = __static_abs<_Qn>::value / __c; | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:104:34: error: expected unqualified-id before '+' token 104 | static_assert((__a0 * __b1 + __b0 * __a1) * __c | ^ /opt/tools/gcc12/include/c++/12.2.0/ratio:132:21: error: expected identifier before '!' token 132 | static_assert(!__big_less<__hi1, __lo1, __hi2, __lo2>::value, | ^ /opt/tools/gcc12/include/c++/12.2.0/ratio:132:21: error: expected ',' or '...' before '!' token /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:169:21: error: '__d' is not a type 169 | static_assert(__d >= (uintmax_t(1) << (sizeof(intmax_t) * 8 - 1)), | ^~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:169:25: error: expected ',' or '...' before '>=' token 169 | static_assert(__d >= (uintmax_t(1) << (sizeof(intmax_t) * 8 - 1)), | ^~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:171:21: error: '__n1' is not a type 171 | static_assert(__n1 < __d, "Internal library error"); | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:171:26: error: expected ',' or '...' before '<' token 171 | static_assert(__n1 < __d, "Internal library error"); | ^ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__big_div_impl<__n1, __n0, __d>::_Static_assert(int)' cannot be overloaded with 'int std::__big_div_impl<__n1, __n0, __d>::_Static_assert(int)' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__big_div_impl<__n1, __n0, __d>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:206:21: error: 'std::_Sum::__hi' is not a type 206 | static_assert(_Sum::__hi == __n1 && _Sum::__lo == __n0, | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:206:32: error: expected ',' or '...' before '==' token 206 | static_assert(_Sum::__hi == __n1 && _Sum::__lo == __n0, | ^~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__big_div_impl<__n1, __n0, __d>::_Static_assert(int)' cannot be overloaded with 'int std::__big_div_impl<__n1, __n0, __d>::_Static_assert(int)' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__big_div_impl<__n1, __n0, __d>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:214:21: error: '__d' is not a type 214 | static_assert(__d != 0, "Internal library error"); | ^~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:214:25: error: expected ',' or '...' before '!=' token 214 | static_assert(__d != 0, "Internal library error"); | ^~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:215:21: error: expected identifier before 'sizeof' 215 | static_assert(sizeof (uintmax_t) == sizeof (unsigned long long), | ^~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:215:21: error: expected ',' or '...' before 'sizeof' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' cannot be overloaded with 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:241:21: error: 'std::_P1::__hi' is not a type 241 | static_assert(_P1::__hi == 0, "Internal library error"); | ^~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:241:31: error: expected ',' or '...' before '==' token 241 | static_assert(_P1::__hi == 0, "Internal library error"); | ^~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' cannot be overloaded with 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:242:21: error: 'std::_Sum::__hi' is not a type 242 | static_assert(_Sum::__hi >= _P0::__hi, "Internal library error"); | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:242:32: error: expected ',' or '...' before '>=' token 242 | static_assert(_Sum::__hi >= _P0::__hi, "Internal library error"); | ^~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' cannot be overloaded with 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:244:21: error: 'std::_Sum::__hi' is not a type 244 | static_assert(_Sum::__hi == __n1 && _Sum::__lo == __n0, | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:244:32: error: expected ',' or '...' before '==' token 244 | static_assert(_Sum::__hi == __n1 && _Sum::__lo == __n0, | ^~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' cannot be overloaded with 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:246:21: error: '__rem' is not a type 246 | static_assert(__rem < __d, "Internal library error"); | ^~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:246:27: error: expected ',' or '...' before '<' token 246 | static_assert(__rem < __d, "Internal library error"); | ^ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' cannot be overloaded with 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__big_div<__n1, __n0, __d>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:268:21: error: '_Den' is not a type 268 | static_assert(_Den != 0, "denominator cannot be zero"); | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:268:26: error: expected ',' or '...' before '!=' token 268 | static_assert(_Den != 0, "denominator cannot be zero"); | ^~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:269:21: error: '_Num' is not a type 269 | static_assert(_Num >= -__INTMAX_MAX__ && _Den >= -__INTMAX_MAX__, | ^~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:269:26: error: expected ',' or '...' before '>=' token 269 | static_assert(_Num >= -__INTMAX_MAX__ && _Den >= -__INTMAX_MAX__, | ^~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::ratio<_Num, _Den>::_Static_assert(int)' cannot be overloaded with 'int std::ratio<_Num, _Den>::_Static_assert(int)' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::ratio<_Num, _Den>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:331:21: error: '_R2::num' is not a type 331 | static_assert(_R2::num != 0, "division by 0"); | ^~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:331:30: error: expected ',' or '...' before '!=' token 331 | static_assert(_R2::num != 0, "division by 0"); | ^~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:470:21: error: 'std::__n::__hi' is not a type 470 | static_assert(__n::__hi >= __x::__hi, "Internal library error"); | ^~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:470:31: error: expected ',' or '...' before '>=' token 470 | static_assert(__n::__hi >= __x::__hi, "Internal library error"); | ^~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:474:21: error: 'std::__n_final::__rem' is not a type 474 | static_assert(__n_final::__rem == 0, "Internal library error"); | ^~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:474:38: error: expected ',' or '...' before '==' token 474 | static_assert(__n_final::__rem == 0, "Internal library error"); | ^~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__ratio_add_impl<_R1, _R2, true, true, __b>::_Static_assert(int)' cannot be overloaded with 'int std::__ratio_add_impl<_R1, _R2, true, true, __b>::_Static_assert(int)' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__ratio_add_impl<_R1, _R2, true, true, __b>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:475:21: error: 'std::__n_final::__quot_hi' is not a type 475 | static_assert(__n_final::__quot_hi == 0 && | ^~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:475:42: error: expected ',' or '...' before '==' token 475 | static_assert(__n_final::__quot_hi == 0 && | ^~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__ratio_add_impl<_R1, _R2, true, true, __b>::_Static_assert(int)' cannot be overloaded with 'int std::__ratio_add_impl<_R1, _R2, true, true, __b>::_Static_assert(int)' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__ratio_add_impl<_R1, _R2, true, true, __b>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:478:21: error: 'std::__d_final::__hi' is not a type 478 | static_assert(__d_final::__hi == 0 && | ^~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:478:37: error: expected ',' or '...' before '==' token 478 | static_assert(__d_final::__hi == 0 && | ^~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__ratio_add_impl<_R1, _R2, true, true, __b>::_Static_assert(int)' cannot be overloaded with 'int std::__ratio_add_impl<_R1, _R2, true, true, __b>::_Static_assert(int)' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__ratio_add_impl<_R1, _R2, true, true, __b>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:503:21: error: 'std::__n_final::__rem' is not a type 503 | static_assert(__n_final::__rem == 0, "Internal library error"); | ^~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:503:38: error: expected ',' or '...' before '==' token 503 | static_assert(__n_final::__rem == 0, "Internal library error"); | ^~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:504:21: error: 'std::__n_final::__quot_hi' is not a type 504 | static_assert(__n_final::__quot_hi == 0 && | ^~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:504:42: error: expected ',' or '...' before '==' token 504 | static_assert(__n_final::__quot_hi == 0 && | ^~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__ratio_add_impl<_R1, _R2, true, false, false>::_Static_assert(int)' cannot be overloaded with 'int std::__ratio_add_impl<_R1, _R2, true, false, false>::_Static_assert(int)' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__ratio_add_impl<_R1, _R2, true, false, false>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:507:21: error: 'std::__d_final::__hi' is not a type 507 | static_assert(__d_final::__hi == 0 && | ^~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/ratio:507:37: error: expected ',' or '...' before '==' token 507 | static_assert(__d_final::__hi == 0 && | ^~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::__ratio_add_impl<_R1, _R2, true, false, false>::_Static_assert(int)' cannot be overloaded with 'int std::__ratio_add_impl<_R1, _R2, true, false, false>::_Static_assert(int)' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::__ratio_add_impl<_R1, _R2, true, false, false>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:41: /opt/tools/gcc12/include/c++/12.2.0/bits/parse_numbers.h:66:21: error: '_Base' is not a type 66 | static_assert(_Base > _Val, "invalid digit"); | ^~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/parse_numbers.h:66:27: error: expected ',' or '...' before '>' token 66 | static_assert(_Base > _Val, "invalid digit"); | ^ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/parse_numbers.h:197:21: error: expected identifier before '(' token 197 | static_assert((type::value / _Pow) == __digit::value, | ^ /opt/tools/gcc12/include/c++/12.2.0/bits/parse_numbers.h:197:34: error: expected unqualified-id before '/' token 197 | static_assert((type::value / _Pow) == __digit::value, | ^ /opt/tools/gcc12/include/c++/12.2.0/bits/parse_numbers.h:197:33: error: expected ')' before '/' token 197 | static_assert((type::value / _Pow) == __digit::value, | ~ ^~ | ) /opt/tools/gcc12/include/c++/12.2.0/bits/parse_numbers.h:197:33: error: expected ')' before '/' token 197 | static_assert((type::value / _Pow) == __digit::value, | ~ ^~ | ) /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/parse_numbers.h:197:28: error: expected ';' at end of member declaration 197 | static_assert((type::value / _Pow) == __digit::value, | ^~~~~ | ; /opt/tools/gcc12/include/c++/12.2.0/bits/parse_numbers.h:197:34: error: expected unqualified-id before '/' token 197 | static_assert((type::value / _Pow) == __digit::value, | ^ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:490:23: error: expected identifier before '!' token 490 | static_assert(!__is_duration<_Rep>::value, "rep cannot be a duration"); | ^ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:490:23: error: expected ',' or '...' before '!' token /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:491:23: error: 'std::chrono::__is_ratio<_Period>::value' is not a type 491 | static_assert(__is_ratio<_Period>::value, | ^~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:492:23: error: expected identifier before string constant 492 | "period must be a specialization of ratio"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:492:23: error: expected ',' or '...' before string constant /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:493:23: error: '_Period::num' is not a type 493 | static_assert(_Period::num > 0, "period must be positive"); | ^~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:493:36: error: expected ',' or '...' before '>' token 493 | static_assert(_Period::num > 0, "period must be positive"); | ^ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: 'int std::chrono::duration<_Rep, _Period>::_Static_assert(int)' cannot be overloaded with 'int std::chrono::duration<_Rep, _Period>::_Static_assert(int)' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: note: previous declaration 'int std::chrono::duration<_Rep, _Period>::_Static_assert(int)' 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:858:23: error: 'std::chrono::__is_duration<_Dur>::value' is not a type 858 | static_assert(__is_duration<_Dur>::value, | ^~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:859:13: error: expected identifier before string constant 859 | "duration must be a specialization of std::chrono::duration"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:859:13: error: expected ',' or '...' before string constant /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:1117:21: error: 'std::chrono::duration::min' is not a type 1117 | static_assert(system_clock::duration::min() | ^~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/chrono.h:1118:21: error: expected ',' or '...' before '<' token 1118 | < system_clock::duration::zero(), | ^ /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: ISO C++ forbids declaration of '_Static_assert' with no type [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/shared_ptr_base.h: In constructor 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(_Yp*)': /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/backward/auto_ptr.h: In constructor 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::auto_ptr<_Up>&&)': /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/python3.11/pymacro.h:23:25: error: there are no arguments to '_Static_assert' that depend on a template parameter, so a declaration of '_Static_assert' must be available [-fpermissive] 23 | # define static_assert _Static_assert | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:3961: /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h: In instantiation of 'constexpr unsigned int std::__detail::__to_chars_len(_Tp, int) [with _Tp = unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:4019:48: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:49:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 49 | static_assert(is_integral<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:50:20: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 50 | static_assert(is_unsigned<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h: In instantiation of 'void std::__detail::__to_chars_10_impl(char*, unsigned int, _Tp) [with _Tp = unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:4021:33: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:74:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 74 | static_assert(is_integral<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:75:20: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 75 | static_assert(is_unsigned<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h: In instantiation of 'constexpr unsigned int std::__detail::__to_chars_len(_Tp, int) [with _Tp = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:4044:48: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:49:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 49 | static_assert(is_integral<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:50:20: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 50 | static_assert(is_unsigned<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h: In instantiation of 'void std::__detail::__to_chars_10_impl(char*, unsigned int, _Tp) [with _Tp = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:4046:33: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:74:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 74 | static_assert(is_integral<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:75:20: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 75 | static_assert(is_unsigned<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h: In instantiation of 'constexpr unsigned int std::__detail::__to_chars_len(_Tp, int) [with _Tp = long long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:4067:48: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:49:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 49 | static_assert(is_integral<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:50:20: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 50 | static_assert(is_unsigned<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h: In instantiation of 'void std::__detail::__to_chars_10_impl(char*, unsigned int, _Tp) [with _Tp = long long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:4069:33: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:74:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 74 | static_assert(is_integral<_Tp>::value, "implementation bug"); /opt/tools/gcc12/include/c++/12.2.0/bits/charconv.h:75:20: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 75 | static_assert(is_unsigned<_Tp>::value, "implementation bug"); In file included from /opt/tools/gcc12/include/c++/12.2.0/functional:59: /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h: In instantiation of 'std::function<_Res(_ArgTypes ...)>::function(_Functor&&) [with _Functor = sentencepiece_SentencePieceProcessor__EncodeAsIdsBatch(const sentencepiece::SentencePieceProcessor*, const std::vector >&, int, bool, int, float, bool, bool, bool, bool)::; _Constraints = void; _Res = void; _ArgTypes = {}]': src/sentencepiece/sentencepiece_wrap.cxx:3551:5: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:439:24: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 439 | static_assert(is_copy_constructible<__decay_t<_Functor>>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:441:24: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 441 | static_assert(is_constructible<__decay_t<_Functor>, _Functor>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h: In instantiation of 'std::function<_Res(_ArgTypes ...)>::function(_Functor&&) [with _Functor = sentencepiece_SentencePieceProcessor__EncodeAsPiecesBatch(const sentencepiece::SentencePieceProcessor*, const std::vector >&, int, bool, int, float, bool, bool, bool, bool)::; _Constraints = void; _Res = void; _ArgTypes = {}]': src/sentencepiece/sentencepiece_wrap.cxx:3555:5: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:439:24: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 439 | static_assert(is_copy_constructible<__decay_t<_Functor>>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:441:24: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 441 | static_assert(is_constructible<__decay_t<_Functor>, _Functor>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h: In instantiation of 'std::function<_Res(_ArgTypes ...)>::function(_Functor&&) [with _Functor = sentencepiece_SentencePieceProcessor__EncodeAsSerializedProtoBatch(const sentencepiece::SentencePieceProcessor*, const std::vector >&, int, bool, int, float, bool, bool, bool, bool)::; _Constraints = void; _Res = void; _ArgTypes = {}]': src/sentencepiece/sentencepiece_wrap.cxx:3559:5: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:439:24: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 439 | static_assert(is_copy_constructible<__decay_t<_Functor>>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:441:24: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 441 | static_assert(is_constructible<__decay_t<_Functor>, _Functor>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h: In instantiation of 'std::function<_Res(_ArgTypes ...)>::function(_Functor&&) [with _Functor = sentencepiece_SentencePieceProcessor__EncodeAsImmutableProtoBatch(const sentencepiece::SentencePieceProcessor*, const std::vector >&, int, bool, int, float, bool, bool, bool, bool)::; _Constraints = void; _Res = void; _ArgTypes = {}]': src/sentencepiece/sentencepiece_wrap.cxx:3564:5: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:439:24: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 439 | static_assert(is_copy_constructible<__decay_t<_Functor>>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:441:24: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 441 | static_assert(is_constructible<__decay_t<_Functor>, _Functor>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h: In instantiation of 'std::function<_Res(_ArgTypes ...)>::function(_Functor&&) [with _Functor = sentencepiece_SentencePieceProcessor__DecodeIdsBatch(const sentencepiece::SentencePieceProcessor*, const std::vector >&, int)::; _Constraints = void; _Res = void; _ArgTypes = {}]': src/sentencepiece/sentencepiece_wrap.cxx:3596:5: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:439:24: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 439 | static_assert(is_copy_constructible<__decay_t<_Functor>>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:441:24: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 441 | static_assert(is_constructible<__decay_t<_Functor>, _Functor>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h: In instantiation of 'std::function<_Res(_ArgTypes ...)>::function(_Functor&&) [with _Functor = sentencepiece_SentencePieceProcessor__DecodeIdsAsSerializedProtoBatch(const sentencepiece::SentencePieceProcessor*, const std::vector >&, int)::; _Constraints = void; _Res = void; _ArgTypes = {}]': src/sentencepiece/sentencepiece_wrap.cxx:3599:5: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:439:24: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 439 | static_assert(is_copy_constructible<__decay_t<_Functor>>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:441:24: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 441 | static_assert(is_constructible<__decay_t<_Functor>, _Functor>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h: In instantiation of 'std::function<_Res(_ArgTypes ...)>::function(_Functor&&) [with _Functor = sentencepiece_SentencePieceProcessor__DecodeIdsAsImmutableProtoBatch(const sentencepiece::SentencePieceProcessor*, const std::vector >&, int)::; _Constraints = void; _Res = void; _ArgTypes = {}]': src/sentencepiece/sentencepiece_wrap.cxx:3603:5: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:439:24: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 439 | static_assert(is_copy_constructible<__decay_t<_Functor>>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:441:24: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 441 | static_assert(is_constructible<__decay_t<_Functor>, _Functor>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h: In instantiation of 'std::function<_Res(_ArgTypes ...)>::function(_Functor&&) [with _Functor = sentencepiece_SentencePieceProcessor__DecodePiecesBatch(const sentencepiece::SentencePieceProcessor*, const std::vector > >&, int)::; _Constraints = void; _Res = void; _ArgTypes = {}]': src/sentencepiece/sentencepiece_wrap.cxx:3607:5: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:439:24: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 439 | static_assert(is_copy_constructible<__decay_t<_Functor>>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:441:24: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 441 | static_assert(is_constructible<__decay_t<_Functor>, _Functor>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h: In instantiation of 'std::function<_Res(_ArgTypes ...)>::function(_Functor&&) [with _Functor = sentencepiece_SentencePieceProcessor__DecodePiecesAsSerializedProtoBatch(const sentencepiece::SentencePieceProcessor*, const std::vector > >&, int)::; _Constraints = void; _Res = void; _ArgTypes = {}]': src/sentencepiece/sentencepiece_wrap.cxx:3610:5: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:439:24: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 439 | static_assert(is_copy_constructible<__decay_t<_Functor>>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:441:24: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 441 | static_assert(is_constructible<__decay_t<_Functor>, _Functor>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h: In instantiation of 'std::function<_Res(_ArgTypes ...)>::function(_Functor&&) [with _Functor = sentencepiece_SentencePieceProcessor__DecodePiecesAsImmutableProtoBatch(const sentencepiece::SentencePieceProcessor*, const std::vector > >&, int)::; _Constraints = void; _Res = void; _ArgTypes = {}]': src/sentencepiece/sentencepiece_wrap.cxx:3614:5: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:439:24: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 439 | static_assert(is_copy_constructible<__decay_t<_Functor>>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:441:24: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 441 | static_assert(is_constructible<__decay_t<_Functor>, _Functor>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h: In instantiation of 'std::function<_Res(_ArgTypes ...)>::function(_Functor&&) [with _Functor = sentencepiece_SentencePieceProcessor__CalculateEntropyBatch(sentencepiece::SentencePieceProcessor*, const std::vector >&, float, int)::; _Constraints = void; _Res = void; _ArgTypes = {}]': src/sentencepiece/sentencepiece_wrap.cxx:3682:22: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:439:24: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 439 | static_assert(is_copy_constructible<__decay_t<_Functor>>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/std_function.h:441:24: error: '_Static_assert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 441 | static_assert(is_constructible<__decay_t<_Functor>, _Functor>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h: In instantiation of 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::~_Hashtable() [with _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _Alloc = std::allocator, std::__cxx11::basic_string > >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits]': /opt/tools/gcc12/include/c++/12.2.0/bits/unordered_map.h:141:7: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:1581:21: error: invalid conversion from 'const char*' to 'int' [-fpermissive] 1581 | "Cache the hash code or qualify your functors involved" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const char* 1582 | " in hash code and bucket index computation with noexcept"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:204:11: note: initializing argument 2 of 'int std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Static_assert(int, int) [with _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _Alloc = std::allocator, std::__cxx11::basic_string > >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits]' 204 | "unordered container must have a non-const, non-volatile value_type"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:33, from /opt/tools/gcc12/include/c++/12.2.0/ext/alloc_traits.h:34, from /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:39: /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h: In instantiation of 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = __cxx11::basic_string*]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:850:15: required from 'void std::_Destroy(_ForwardIterator, _ForwardIterator, allocator<_T2>&) [with _ForwardIterator = __cxx11::basic_string*; _Tp = __cxx11::basic_string]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:730:15: required from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/sentencepiece_processor.h:454:5: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h:188:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 188 | static_assert(is_destructible<_Value_type>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h: In instantiation of 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = int*]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:850:15: required from 'void std::_Destroy(_ForwardIterator, _ForwardIterator, allocator<_T2>&) [with _ForwardIterator = int*; _Tp = int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:730:15: required from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = int; _Alloc = std::allocator]' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/sentencepiece_processor.h:458:5: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h:188:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h: In instantiation of 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = vector<__cxx11::basic_string >*]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:850:15: required from 'void std::_Destroy(_ForwardIterator, _ForwardIterator, allocator<_T2>&) [with _ForwardIterator = vector<__cxx11::basic_string >*; _Tp = vector<__cxx11::basic_string >]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:730:15: required from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = std::vector >; _Alloc = std::allocator > >]' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/sentencepiece_processor.h:463:5: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h:188:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h: In instantiation of 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = vector*]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:850:15: required from 'void std::_Destroy(_ForwardIterator, _ForwardIterator, allocator<_T2>&) [with _ForwardIterator = vector*; _Tp = vector]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:730:15: required from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = std::vector; _Alloc = std::allocator >]' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/sentencepiece_processor.h:469:5: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h:188:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h: In instantiation of 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = pair >, float>*]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:850:15: required from 'void std::_Destroy(_ForwardIterator, _ForwardIterator, allocator<_T2>&) [with _ForwardIterator = pair >, float>*; _Tp = pair >, float>]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:730:15: required from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = std::pair >, float>; _Alloc = std::allocator >, float> >]' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/sentencepiece_processor.h:491:5: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h:188:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h: In instantiation of 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = pair, float>*]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:850:15: required from 'void std::_Destroy(_ForwardIterator, _ForwardIterator, allocator<_T2>&) [with _ForwardIterator = pair, float>*; _Tp = pair, float>]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:730:15: required from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = std::pair, float>; _Alloc = std::allocator, float> >]' /home/pbulk/build/textproc/py-sentencepiece/work/.buildlink/include/sentencepiece_processor.h:499:5: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h:188:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h: In instantiation of 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = thread*]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:850:15: required from 'void std::_Destroy(_ForwardIterator, _ForwardIterator, allocator<_T2>&) [with _ForwardIterator = thread*; _Tp = thread]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:730:15: required from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = std::thread; _Alloc = std::allocator]' src/sentencepiece/sentencepiece_wrap.cxx:3021:31: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h:188:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h: In instantiation of 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = sentencepiece::ImmutableSentencePieceText*]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:850:15: required from 'void std::_Destroy(_ForwardIterator, _ForwardIterator, allocator<_T2>&) [with _ForwardIterator = sentencepiece::ImmutableSentencePieceText*; _Tp = sentencepiece::ImmutableSentencePieceText]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:730:15: required from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = sentencepiece::ImmutableSentencePieceText; _Alloc = std::allocator]' src/sentencepiece/sentencepiece_wrap.cxx:3564:5: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h:188:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h: In instantiation of 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = float*]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:850:15: required from 'void std::_Destroy(_ForwardIterator, _ForwardIterator, allocator<_T2>&) [with _ForwardIterator = float*; _Tp = float]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:730:15: required from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = float; _Alloc = std::allocator]' src/sentencepiece/sentencepiece_wrap.cxx:3677:39: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h:188:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h: In instantiation of 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = basic_string_view*]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:850:15: required from 'void std::_Destroy(_ForwardIterator, _ForwardIterator, allocator<_T2>&) [with _ForwardIterator = basic_string_view*; _Tp = basic_string_view]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:730:15: required from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = std::basic_string_view; _Alloc = std::allocator >]' src/sentencepiece/sentencepiece_wrap.cxx:4639:12: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h:188:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? In file included from /opt/tools/gcc12/include/c++/12.2.0/x86_64-sun-solaris2.11/bits/c++allocator.h:33, from /opt/tools/gcc12/include/c++/12.2.0/bits/allocator.h:46, from /opt/tools/gcc12/include/c++/12.2.0/string:41: /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h: In instantiation of '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = char; size_type = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:464:28: required from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = char; pointer = char*; allocator_type = std::allocator; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:1561:43: required from 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:805:21: required from 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator=(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' src/sentencepiece/sentencepiece_wrap.cxx:2967:17: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h:117:22: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 117 | static_assert(sizeof(_Tp) != 0, "cannot allocate incomplete types"); /opt/tools/gcc12/include/c++/12.2.0/bits/std_thread.h: In instantiation of 'std::thread::thread(_Callable&&, _Args&& ...) [with _Callable = std::function&; _Args = {}; = void]': /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h:175:4: required from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::thread; _Args = {std::function&}; _Tp = std::thread]' /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:516:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = std::thread; _Args = {std::function&}; _Tp = std::thread; allocator_type = std::allocator]' /opt/tools/gcc12/include/c++/12.2.0/bits/vector.tcc:117:30: required from 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::function&}; _Tp = std::thread; _Alloc = std::allocator; reference = std::thread&]' src/sentencepiece/sentencepiece_wrap.cxx:3034:26: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/std_thread.h:128:22: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 128 | static_assert( __is_invocable::type, In file included from /opt/tools/gcc12/include/c++/12.2.0/vector:63: /opt/tools/gcc12/include/c++/12.2.0/bits/stl_uninitialized.h: In instantiation of 'constexpr bool std::__check_constructible() [with _ValueType = sentencepiece::ImmutableSentencePieceText; _Tp = const sentencepiece::ImmutableSentencePieceText&]': /opt/tools/gcc12/include/c++/12.2.0/bits/stl_uninitialized.h:182:4: required from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = sentencepiece::ImmutableSentencePieceText*]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_uninitialized.h:372:37: required from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = sentencepiece::ImmutableSentencePieceText*; _Tp = sentencepiece::ImmutableSentencePieceText]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:601:31: required from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = sentencepiece::ImmutableSentencePieceText; _Alloc = std::allocator]' src/sentencepiece/sentencepiece_wrap.cxx:32:65: required from 'SwigValueWrapper& SwigValueWrapper::operator=(const T&) [with T = std::vector]' src/sentencepiece/sentencepiece_wrap.cxx:6300:222: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/stl_uninitialized.h:90:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 90 | static_assert(is_constructible<_ValueType, _Tp>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable_policy.h: In instantiation of 'bool std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _Traits>::_M_key_equals(const _Key&, const std::__detail::_Hash_node_value<_Value, typename _Traits::__hash_cached::value>&) const [with _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _Traits = std::__detail::_Hashtable_traits; typename _Traits::__hash_cached = std::__detail::_Hashtable_traits::__hash_cached]': /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:2068:31: required from 'std::pair::iterator, bool> std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_emplace(std::true_type, _Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _Alloc = std::allocator, std::__cxx11::basic_string > >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits; typename std::__detail::_Insert<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::iterator = std::__detail::_Insert_base, std::pair, std::__cxx11::basic_string >, std::allocator, std::__cxx11::basic_string > >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::iterator; typename _Traits::__constant_iterators = std::__detail::_Hashtable_traits::__constant_iterators; std::true_type = std::integral_constant]' /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:950:21: required from 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::__ireturn_type std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::emplace(_Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _Alloc = std::allocator, std::__cxx11::basic_string > >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits; __ireturn_type = std::_Hashtable, std::pair, std::__cxx11::basic_string >, std::allocator, std::__cxx11::basic_string > >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::__ireturn_type]' /opt/tools/gcc12/include/c++/12.2.0/bits/unordered_map.h:389:23: required from 'std::pair, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, std::__is_nothrow_invocable > >::value, false, true> >::iterator, bool> std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::emplace(_Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; _Key = std::__cxx11::basic_string; _Tp = std::__cxx11::basic_string; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, std::__cxx11::basic_string > >; typename std::_Hashtable<_Key, std::pair, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, std::__is_nothrow_invocable > >::value, false, true> >::iterator = std::__detail::_Insert_base, std::pair, std::__cxx11::basic_string >, std::allocator, std::__cxx11::basic_string > >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::iterator]' src/sentencepiece/sentencepiece_wrap.cxx:8145:23: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable_policy.h:1685:22: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 1685 | static_assert(__is_invocable{}, /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable_policy.h: In instantiation of 'std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, __cache_hash_code>::__hash_code std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, __cache_hash_code>::_M_hash_code(const _Key&) const [with _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _ExtractKey = std::__detail::_Select1st; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; bool __cache_hash_code = true; __hash_code = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:2073:41: required from 'std::pair::iterator, bool> std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_emplace(std::true_type, _Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _Alloc = std::allocator, std::__cxx11::basic_string > >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits; typename std::__detail::_Insert<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::iterator = std::__detail::_Insert_base, std::pair, std::__cxx11::basic_string >, std::allocator, std::__cxx11::basic_string > >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::iterator; typename _Traits::__constant_iterators = std::__detail::_Hashtable_traits::__constant_iterators; std::true_type = std::integral_constant]' /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:950:21: required from 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::__ireturn_type std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::emplace(_Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _Alloc = std::allocator, std::__cxx11::basic_string > >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits; __ireturn_type = std::_Hashtable, std::pair, std::__cxx11::basic_string >, std::allocator, std::__cxx11::basic_string > >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::__ireturn_type]' /opt/tools/gcc12/include/c++/12.2.0/bits/unordered_map.h:389:23: required from 'std::pair, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, std::__is_nothrow_invocable > >::value, false, true> >::iterator, bool> std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::emplace(_Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; _Key = std::__cxx11::basic_string; _Tp = std::__cxx11::basic_string; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, std::__cxx11::basic_string > >; typename std::_Hashtable<_Key, std::pair, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, std::__is_nothrow_invocable > >::value, false, true> >::iterator = std::__detail::_Insert_base, std::pair, std::__cxx11::basic_string >, std::allocator, std::__cxx11::basic_string > >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::iterator]' src/sentencepiece/sentencepiece_wrap.cxx:8145:23: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable_policy.h:1268:22: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 1268 | static_assert(__is_invocable{}, /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h: In instantiation of '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = char16_t; size_type = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:464:28: required from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = char16_t; pointer = char16_t*; allocator_type = std::allocator; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.tcc:155:37: required from 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_create(size_type&, size_type) [with _CharT = char16_t; _Traits = std::char_traits; _Alloc = std::allocator; pointer = char16_t*; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.tcc:225:14: required from 'void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct(_InIterator, _InIterator, std::forward_iterator_tag) [with _FwdIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits; _Alloc = std::allocator]' /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:620:14: required from 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits; _Alloc = std::allocator; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:4347:49: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h:117:22: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 117 | static_assert(sizeof(_Tp) != 0, "cannot allocate incomplete types"); /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h: In instantiation of '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = char32_t; size_type = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:464:28: required from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = char32_t; pointer = char32_t*; allocator_type = std::allocator; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.tcc:155:37: required from 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_create(size_type&, size_type) [with _CharT = char32_t; _Traits = std::char_traits; _Alloc = std::allocator; pointer = char32_t*; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.tcc:225:14: required from 'void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct(_InIterator, _InIterator, std::forward_iterator_tag) [with _FwdIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits; _Alloc = std::allocator]' /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:620:14: required from 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits; _Alloc = std::allocator; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:4352:49: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h:117:22: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h: In instantiation of '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = std::__cxx11::basic_string; size_type = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:464:28: required from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = std::__cxx11::basic_string; pointer = std::__cxx11::basic_string*; allocator_type = std::allocator >; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:378:33: required from 'std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(size_t) [with _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; pointer = std::__cxx11::basic_string*; size_t = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/vector.tcc:453:44: required from 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const std::__cxx11::basic_string, std::allocator >&}; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; iterator = std::vector >::iterator]' /opt/tools/gcc12/include/c++/12.2.0/bits/vector.tcc:164:19: required from 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, const value_type&) [with _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; iterator = std::vector >::iterator; const_iterator = std::vector >::const_iterator; value_type = std::__cxx11::basic_string]' src/sentencepiece/sentencepiece_wrap.cxx:2960:30: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h:117:22: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? /opt/tools/gcc12/include/c++/12.2.0/bits/stl_uninitialized.h: In instantiation of '_ForwardIterator std::__relocate_a_1(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = __cxx11::basic_string*; _ForwardIterator = __cxx11::basic_string*; _Allocator = allocator<__cxx11::basic_string >]': /opt/tools/gcc12/include/c++/12.2.0/bits/stl_uninitialized.h:1133:33: required from '_ForwardIterator std::__relocate_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = __cxx11::basic_string*; _ForwardIterator = __cxx11::basic_string*; _Allocator = allocator<__cxx11::basic_string >]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:504:26: required from 'static std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_S_relocate(pointer, pointer, pointer, _Tp_alloc_type&) [with _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; pointer = std::__cxx11::basic_string*; _Tp_alloc_type = std::vector >::_Tp_alloc_type]' /opt/tools/gcc12/include/c++/12.2.0/bits/vector.tcc:474:34: required from 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const std::__cxx11::basic_string, std::allocator >&}; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; iterator = std::vector >::iterator]' /opt/tools/gcc12/include/c++/12.2.0/bits/vector.tcc:164:19: required from 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, const value_type&) [with _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; iterator = std::vector >::iterator; const_iterator = std::vector >::const_iterator; value_type = std::__cxx11::basic_string]' src/sentencepiece/sentencepiece_wrap.cxx:2960:30: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/stl_uninitialized.h:1088:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 1088 | static_assert(std::is_same<_ValueType, _ValueType2>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h: In instantiation of '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = std::thread; size_type = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:464:28: required from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = std::thread; pointer = std::thread*; allocator_type = std::allocator; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:378:33: required from 'std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(size_t) [with _Tp = std::thread; _Alloc = std::allocator; pointer = std::thread*; size_t = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/vector.tcc:453:44: required from 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {std::function&}; _Tp = std::thread; _Alloc = std::allocator; iterator = std::vector::iterator]' /opt/tools/gcc12/include/c++/12.2.0/bits/vector.tcc:123:21: required from 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::function&}; _Tp = std::thread; _Alloc = std::allocator; reference = std::thread&]' src/sentencepiece/sentencepiece_wrap.cxx:3034:26: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h:117:22: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 117 | static_assert(sizeof(_Tp) != 0, "cannot allocate incomplete types"); /opt/tools/gcc12/include/c++/12.2.0/bits/stl_uninitialized.h: In instantiation of '_ForwardIterator std::__relocate_a_1(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = thread*; _ForwardIterator = thread*; _Allocator = allocator]': /opt/tools/gcc12/include/c++/12.2.0/bits/stl_uninitialized.h:1133:33: required from '_ForwardIterator std::__relocate_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = thread*; _ForwardIterator = thread*; _Allocator = allocator]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:504:26: required from 'static std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_S_relocate(pointer, pointer, pointer, _Tp_alloc_type&) [with _Tp = std::thread; _Alloc = std::allocator; pointer = std::thread*; _Tp_alloc_type = std::vector::_Tp_alloc_type]' /opt/tools/gcc12/include/c++/12.2.0/bits/vector.tcc:474:34: required from 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {std::function&}; _Tp = std::thread; _Alloc = std::allocator; iterator = std::vector::iterator]' /opt/tools/gcc12/include/c++/12.2.0/bits/vector.tcc:123:21: required from 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::function&}; _Tp = std::thread; _Alloc = std::allocator; reference = std::thread&]' src/sentencepiece/sentencepiece_wrap.cxx:3034:26: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/stl_uninitialized.h:1088:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 1088 | static_assert(std::is_same<_ValueType, _ValueType2>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h: In instantiation of '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = int; size_type = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:464:28: required from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = int; pointer = int*; allocator_type = std::allocator; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:378:33: required from 'std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(size_t) [with _Tp = int; _Alloc = std::allocator; pointer = int*; size_t = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/vector.tcc:650:45: required from 'void std::vector<_Tp, _Alloc>::_M_default_append(size_type) [with _Tp = int; _Alloc = std::allocator; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:1011:4: required from 'void std::vector<_Tp, _Alloc>::resize(size_type) [with _Tp = int; _Alloc = std::allocator; size_type = long unsigned int]' src/sentencepiece/sentencepiece_wrap.cxx:6708:27: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h:117:22: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 117 | static_assert(sizeof(_Tp) != 0, "cannot allocate incomplete types"); /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h: In instantiation of '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = std::basic_string_view; size_type = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:464:28: required from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = std::basic_string_view; pointer = std::basic_string_view*; allocator_type = std::allocator >; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:378:33: required from 'std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(size_t) [with _Tp = std::basic_string_view; _Alloc = std::allocator >; pointer = std::basic_string_view*; size_t = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/vector.tcc:650:45: required from 'void std::vector<_Tp, _Alloc>::_M_default_append(size_type) [with _Tp = std::basic_string_view; _Alloc = std::allocator >; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:1011:4: required from 'void std::vector<_Tp, _Alloc>::resize(size_type) [with _Tp = std::basic_string_view; _Alloc = std::allocator >; size_type = long unsigned int]' src/sentencepiece/sentencepiece_wrap.cxx:6950:27: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h:117:22: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? /opt/tools/gcc12/include/c++/12.2.0/bits/stl_uninitialized.h: In instantiation of '_ForwardIterator std::__relocate_a_1(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = basic_string_view*; _ForwardIterator = basic_string_view*; _Allocator = allocator >]': /opt/tools/gcc12/include/c++/12.2.0/bits/stl_uninitialized.h:1133:33: required from '_ForwardIterator std::__relocate_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = basic_string_view*; _ForwardIterator = basic_string_view*; _Allocator = allocator >]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:504:26: required from 'static std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_S_relocate(pointer, pointer, pointer, _Tp_alloc_type&) [with _Tp = std::basic_string_view; _Alloc = std::allocator >; pointer = std::basic_string_view*; _Tp_alloc_type = std::vector >::_Tp_alloc_type]' /opt/tools/gcc12/include/c++/12.2.0/bits/vector.tcc:663:16: required from 'void std::vector<_Tp, _Alloc>::_M_default_append(size_type) [with _Tp = std::basic_string_view; _Alloc = std::allocator >; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:1011:4: required from 'void std::vector<_Tp, _Alloc>::resize(size_type) [with _Tp = std::basic_string_view; _Alloc = std::allocator >; size_type = long unsigned int]' src/sentencepiece/sentencepiece_wrap.cxx:6950:27: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/stl_uninitialized.h:1088:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 1088 | static_assert(std::is_same<_ValueType, _ValueType2>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h: In instantiation of '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = std::vector; size_type = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:464:28: required from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = std::vector; pointer = std::vector*; allocator_type = std::allocator >; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:378:33: required from 'std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(size_t) [with _Tp = std::vector; _Alloc = std::allocator >; pointer = std::vector*; size_t = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:395:33: required from 'void std::_Vector_base<_Tp, _Alloc>::_M_create_storage(size_t) [with _Tp = std::vector; _Alloc = std::allocator >; size_t = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:332:9: required from 'std::_Vector_base<_Tp, _Alloc>::_Vector_base(size_t, const allocator_type&) [with _Tp = std::vector; _Alloc = std::allocator >; size_t = long unsigned int; allocator_type = std::allocator >]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:552:47: required from 'std::vector<_Tp, _Alloc>::vector(size_type, const allocator_type&) [with _Tp = std::vector; _Alloc = std::allocator >; size_type = long unsigned int; allocator_type = std::allocator >]' src/sentencepiece/sentencepiece_wrap.cxx:3551:5: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h:117:22: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 117 | static_assert(sizeof(_Tp) != 0, "cannot allocate incomplete types"); /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h: In instantiation of '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = std::vector >; size_type = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:464:28: required from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = std::vector >; pointer = std::vector >*; allocator_type = std::allocator > >; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:378:33: required from 'std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(size_t) [with _Tp = std::vector >; _Alloc = std::allocator > >; pointer = std::vector >*; size_t = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:395:33: required from 'void std::_Vector_base<_Tp, _Alloc>::_M_create_storage(size_t) [with _Tp = std::vector >; _Alloc = std::allocator > >; size_t = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:332:9: required from 'std::_Vector_base<_Tp, _Alloc>::_Vector_base(size_t, const allocator_type&) [with _Tp = std::vector >; _Alloc = std::allocator > >; size_t = long unsigned int; allocator_type = std::allocator > >]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:552:47: required from 'std::vector<_Tp, _Alloc>::vector(size_type, const allocator_type&) [with _Tp = std::vector >; _Alloc = std::allocator > >; size_type = long unsigned int; allocator_type = std::allocator > >]' src/sentencepiece/sentencepiece_wrap.cxx:3555:5: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h:117:22: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h: In instantiation of '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = sentencepiece::ImmutableSentencePieceText; size_type = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:464:28: required from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = sentencepiece::ImmutableSentencePieceText; pointer = sentencepiece::ImmutableSentencePieceText*; allocator_type = std::allocator; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:378:33: required from 'std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(size_t) [with _Tp = sentencepiece::ImmutableSentencePieceText; _Alloc = std::allocator; pointer = sentencepiece::ImmutableSentencePieceText*; size_t = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:395:33: required from 'void std::_Vector_base<_Tp, _Alloc>::_M_create_storage(size_t) [with _Tp = sentencepiece::ImmutableSentencePieceText; _Alloc = std::allocator; size_t = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:332:9: required from 'std::_Vector_base<_Tp, _Alloc>::_Vector_base(size_t, const allocator_type&) [with _Tp = sentencepiece::ImmutableSentencePieceText; _Alloc = std::allocator; size_t = long unsigned int; allocator_type = std::allocator]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:552:47: required from 'std::vector<_Tp, _Alloc>::vector(size_type, const allocator_type&) [with _Tp = sentencepiece::ImmutableSentencePieceText; _Alloc = std::allocator; size_type = long unsigned int; allocator_type = std::allocator]' src/sentencepiece/sentencepiece_wrap.cxx:3564:5: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h:117:22: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h: In instantiation of '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = float; size_type = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:464:28: required from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = float; pointer = float*; allocator_type = std::allocator; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:378:33: required from 'std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(size_t) [with _Tp = float; _Alloc = std::allocator; pointer = float*; size_t = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:395:33: required from 'void std::_Vector_base<_Tp, _Alloc>::_M_create_storage(size_t) [with _Tp = float; _Alloc = std::allocator; size_t = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:332:9: required from 'std::_Vector_base<_Tp, _Alloc>::_Vector_base(size_t, const allocator_type&) [with _Tp = float; _Alloc = std::allocator; size_t = long unsigned int; allocator_type = std::allocator]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:552:47: required from 'std::vector<_Tp, _Alloc>::vector(size_type, const allocator_type&) [with _Tp = float; _Alloc = std::allocator; size_type = long unsigned int; allocator_type = std::allocator]' src/sentencepiece/sentencepiece_wrap.cxx:3677:39: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h:117:22: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h: In instantiation of '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = std::vector >; size_type = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:464:28: required from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = std::vector >; pointer = std::vector >*; allocator_type = std::allocator > >; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:378:33: required from 'std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(size_t) [with _Tp = std::vector >; _Alloc = std::allocator > >; pointer = std::vector >*; size_t = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:395:33: required from 'void std::_Vector_base<_Tp, _Alloc>::_M_create_storage(size_t) [with _Tp = std::vector >; _Alloc = std::allocator > >; size_t = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:332:9: required from 'std::_Vector_base<_Tp, _Alloc>::_Vector_base(size_t, const allocator_type&) [with _Tp = std::vector >; _Alloc = std::allocator > >; size_t = long unsigned int; allocator_type = std::allocator > >]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:552:47: required from 'std::vector<_Tp, _Alloc>::vector(size_type, const allocator_type&) [with _Tp = std::vector >; _Alloc = std::allocator > >; size_type = long unsigned int; allocator_type = std::allocator > >]' src/sentencepiece/sentencepiece_wrap.cxx:6945:65: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h:117:22: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h: In instantiation of 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = vector >*]': /opt/tools/gcc12/include/c++/12.2.0/bits/stl_uninitialized.h:643:21: required from 'static _ForwardIterator std::__uninitialized_default_n_1<_TrivialValueType>::__uninit_default_n(_ForwardIterator, _Size) [with _ForwardIterator = std::vector >*; _Size = long unsigned int; bool _TrivialValueType = false]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_uninitialized.h:701:20: required from '_ForwardIterator std::__uninitialized_default_n(_ForwardIterator, _Size) [with _ForwardIterator = vector >*; _Size = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_uninitialized.h:766:44: required from '_ForwardIterator std::__uninitialized_default_n_a(_ForwardIterator, _Size, allocator<_Tp>&) [with _ForwardIterator = vector >*; _Size = long unsigned int; _Tp = vector >]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:1713:36: required from 'void std::vector<_Tp, _Alloc>::_M_default_initialize(size_type) [with _Tp = std::vector >; _Alloc = std::allocator > >; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/stl_vector.h:553:9: required from 'std::vector<_Tp, _Alloc>::vector(size_type, const allocator_type&) [with _Tp = std::vector >; _Alloc = std::allocator > >; size_type = long unsigned int; allocator_type = std::allocator > >]' src/sentencepiece/sentencepiece_wrap.cxx:6945:65: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/stl_construct.h:188:20: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 188 | static_assert(is_destructible<_Value_type>::value, /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h: In instantiation of '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = std::__detail::_Hash_node, std::__cxx11::basic_string >, true>; size_type = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:464:28: required from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = std::__detail::_Hash_node, std::__cxx11::basic_string >, true>; pointer = std::__detail::_Hash_node, std::__cxx11::basic_string >, true>*; allocator_type = std::allocator, std::__cxx11::basic_string >, true> >; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable_policy.h:1963:45: required from 'std::__detail::_Hashtable_alloc<_NodeAlloc>::__node_type* std::__detail::_Hashtable_alloc<_NodeAlloc>::_M_allocate_node(_Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; _NodeAlloc = std::allocator, std::__cxx11::basic_string >, true> >; __node_ptr = std::allocator, std::__cxx11::basic_string >, true> >::value_type*]' /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:308:35: required from 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Scoped_node::_Scoped_node(std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::__hashtable_alloc*, _Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _Alloc = std::allocator, std::__cxx11::basic_string > >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits; std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::__hashtable_alloc = std::_Hashtable, std::pair, std::__cxx11::basic_string >, std::allocator, std::__cxx11::basic_string > >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::__hashtable_alloc]' /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:2063:15: required from 'std::pair::iterator, bool> std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_emplace(std::true_type, _Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _Alloc = std::allocator, std::__cxx11::basic_string > >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits; typename std::__detail::_Insert<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::iterator = std::__detail::_Insert_base, std::pair, std::__cxx11::basic_string >, std::allocator, std::__cxx11::basic_string > >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::iterator; typename _Traits::__constant_iterators = std::__detail::_Hashtable_traits::__constant_iterators; std::true_type = std::integral_constant]' /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:950:21: required from 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::__ireturn_type std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::emplace(_Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _Alloc = std::allocator, std::__cxx11::basic_string > >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits; __ireturn_type = std::_Hashtable, std::pair, std::__cxx11::basic_string >, std::allocator, std::__cxx11::basic_string > >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::__ireturn_type]' /opt/tools/gcc12/include/c++/12.2.0/bits/unordered_map.h:389:23: required from 'std::pair, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, std::__is_nothrow_invocable > >::value, false, true> >::iterator, bool> std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::emplace(_Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; _Key = std::__cxx11::basic_string; _Tp = std::__cxx11::basic_string; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, std::__cxx11::basic_string > >; typename std::_Hashtable<_Key, std::pair, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, std::__is_nothrow_invocable > >::value, false, true> >::iterator = std::__detail::_Insert_base, std::pair, std::__cxx11::basic_string >, std::allocator, std::__cxx11::basic_string > >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::iterator]' src/sentencepiece/sentencepiece_wrap.cxx:8145:23: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h:117:22: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? 117 | static_assert(sizeof(_Tp) != 0, "cannot allocate incomplete types"); /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h: In instantiation of '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = std::__detail::_Hash_node_base*; size_type = long unsigned int]': /opt/tools/gcc12/include/c++/12.2.0/bits/alloc_traits.h:464:28: required from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = std::__detail::_Hash_node_base*; pointer = std::__detail::_Hash_node_base**; allocator_type = std::allocator; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable_policy.h:2017:52: required from 'std::__detail::_Hashtable_alloc<_NodeAlloc>::__node_base** std::__detail::_Hashtable_alloc<_NodeAlloc>::_M_allocate_buckets(size_t) [with _NodeAlloc = std::allocator, std::__cxx11::basic_string >, true> >; __buckets_ptr = std::__detail::_Hashtable_alloc, std::__cxx11::basic_string >, true> > >::__node_base**; size_t = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:443:47: required from 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::__buckets_ptr std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_allocate_buckets(size_type) [with _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _Alloc = std::allocator, std::__cxx11::basic_string > >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits; __buckets_ptr = std::__detail::_Hashtable_alloc, std::__cxx11::basic_string >, true> > >::__node_base**; size_type = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:2562:37: required from 'void std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_rehash_aux(size_type, std::true_type) [with _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _Alloc = std::allocator, std::__cxx11::basic_string > >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits; size_type = long unsigned int; std::true_type = std::integral_constant]' /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:2541:17: required from 'void std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_rehash(size_type, const __rehash_state&) [with _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _Alloc = std::allocator, std::__cxx11::basic_string > >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits; size_type = long unsigned int; __rehash_state = long unsigned int]' /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:2155:4: required from 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::iterator std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_insert_unique_node(size_type, __hash_code, __node_ptr, size_type) [with _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _Alloc = std::allocator, std::__cxx11::basic_string > >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits; iterator = std::__detail::_Insert_base, std::pair, std::__cxx11::basic_string >, std::allocator, std::__cxx11::basic_string > >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::iterator; size_type = long unsigned int; __hash_code = long unsigned int; __node_ptr = std::allocator, std::__cxx11::basic_string >, true> >::value_type*]' /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:2081:15: required from 'std::pair::iterator, bool> std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_M_emplace(std::true_type, _Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _Alloc = std::allocator, std::__cxx11::basic_string > >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits; typename std::__detail::_Insert<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::iterator = std::__detail::_Insert_base, std::pair, std::__cxx11::basic_string >, std::allocator, std::__cxx11::basic_string > >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::iterator; typename _Traits::__constant_iterators = std::__detail::_Hashtable_traits::__constant_iterators; std::true_type = std::integral_constant]' /opt/tools/gcc12/include/c++/12.2.0/bits/hashtable.h:950:21: required from 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::__ireturn_type std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::emplace(_Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; _Key = std::__cxx11::basic_string; _Value = std::pair, std::__cxx11::basic_string >; _Alloc = std::allocator, std::__cxx11::basic_string > >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to >; _Hash = std::hash >; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits; __ireturn_type = std::_Hashtable, std::pair, std::__cxx11::basic_string >, std::allocator, std::__cxx11::basic_string > >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::__ireturn_type]' /opt/tools/gcc12/include/c++/12.2.0/bits/unordered_map.h:389:23: required from 'std::pair, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, std::__is_nothrow_invocable > >::value, false, true> >::iterator, bool> std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::emplace(_Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; _Key = std::__cxx11::basic_string; _Tp = std::__cxx11::basic_string; _Hash = std::hash >; _Pred = std::equal_to >; _Alloc = std::allocator, std::__cxx11::basic_string > >; typename std::_Hashtable<_Key, std::pair, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, std::__is_nothrow_invocable > >::value, false, true> >::iterator = std::__detail::_Insert_base, std::pair, std::__cxx11::basic_string >, std::allocator, std::__cxx11::basic_string > >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::iterator]' src/sentencepiece/sentencepiece_wrap.cxx:8145:23: required from here /opt/tools/gcc12/include/c++/12.2.0/bits/new_allocator.h:117:22: error: '_Static_assert' was not declared in this scope; did you mean 'static_assert'? error: command '/home/pbulk/build/textproc/py-sentencepiece/work/.cwrapper/bin/gcc' failed with exit code 1 *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/py-sentencepiece *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/py-sentencepiece