Calculating dependencies ... done! Dependency resolution took 1.98 s. >>> Verifying ebuild manifests >>> Emerging (1 of 1) app-i18n/librime-lua-99999999999999::gentoo * Using lua5.4 to build >>> Unpacking source... * Repository id: hchunhui_librime-lua.git * To override fetched repository properties, use: * EGIT_OVERRIDE_REPO_HCHUNHUI_LIBRIME_LUA * EGIT_OVERRIDE_BRANCH_HCHUNHUI_LIBRIME_LUA * EGIT_OVERRIDE_COMMIT_HCHUNHUI_LIBRIME_LUA * EGIT_OVERRIDE_COMMIT_DATE_HCHUNHUI_LIBRIME_LUA * * Fetching https://github.com/hchunhui/librime-lua ... git fetch https://github.com/hchunhui/librime-lua +HEAD:refs/git-r3/HEAD git symbolic-ref refs/git-r3/app-i18n/librime-lua/0/__main__ refs/git-r3/HEAD * Checking out https://github.com/hchunhui/librime-lua to /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999 ... git checkout --quiet refs/git-r3/HEAD GIT update --> repository: https://github.com/hchunhui/librime-lua at the commit: c985eb399d63c491c6e03fa1651ddb59e485c04a >>> Source unpacked in /tmp/portage/app-i18n/librime-lua-99999999999999/work >>> Preparing source in /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999 ... * Source directory (CMAKE_USE_DIR): "/tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999" * Build directory (BUILD_DIR): "/tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999_build" >>> Source prepared. >>> Configuring source in /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999 ... * Source directory (CMAKE_USE_DIR): "/tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999" * Build directory (BUILD_DIR): "/tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999_build" cmake -C /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999_build/gentoo_toolchain.cmake /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999 loading initial cache file /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999_build/gentoo_common_config.cmake CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.  -- The C compiler identification is GNU 13.2.0 -- The CXX compiler identification is GNU 13.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "1.8.1") -- Checking for module 'lua' -- Found lua, version 5.4.6 -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -march=native -O3 -pipe C++ -march=native -O3 -pipe Linker flags: Executable -Wl,-O1 -Wl,--as-needed Module -Wl,-O1 -Wl,--as-needed Shared -Wl,-O1 -Wl,--as-needed -- Configuring done (0.4s) -- Generating done (0.0s) -- Build files have been written to: /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999_build >>> Source configured. >>> Compiling source in /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999 ... * Source directory (CMAKE_USE_DIR): "/tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999" * Build directory (BUILD_DIR): "/tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999_build" ninja -v -j16 -l0 [1/9] /usr/bin/x86_64-pc-linux-gnu-gcc -I/usr/include/lua5.4 -march=native -O3 -pipe -fPIC -MD -MT CMakeFiles/rime-lua-objs.dir/src/lib/lauxlib-compat.c.o -MF CMakeFiles/rime-lua-objs.dir/src/lib/lauxlib-compat.c.o.d -o CMakeFiles/rime-lua-objs.dir/src/lib/lauxlib-compat.c.o -c /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lauxlib-compat.c [2/9] /usr/bin/x86_64-pc-linux-gnu-gcc -I/usr/include/lua5.4 -march=native -O3 -pipe -fPIC -MD -MT CMakeFiles/rime-lua-objs.dir/src/lib/lutf8lib-compat.c.o -MF CMakeFiles/rime-lua-objs.dir/src/lib/lutf8lib-compat.c.o.d -o CMakeFiles/rime-lua-objs.dir/src/lib/lutf8lib-compat.c.o -c /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lutf8lib-compat.c [3/9] /usr/bin/x86_64-pc-linux-gnu-g++ -I/usr/include/lua5.4 -march=native -O3 -pipe -fPIC -MD -MT CMakeFiles/rime-lua-objs.dir/src/lib/lua.cc.o -MF CMakeFiles/rime-lua-objs.dir/src/lib/lua.cc.o.d -o CMakeFiles/rime-lua-objs.dir/src/lib/lua.cc.o -c /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua.cc [4/9] /usr/bin/x86_64-pc-linux-gnu-g++ -I/usr/include/lua5.4 -march=native -O3 -pipe -fPIC -MD -MT CMakeFiles/rime-lua-objs.dir/src/modules.cc.o -MF CMakeFiles/rime-lua-objs.dir/src/modules.cc.o.d -o CMakeFiles/rime-lua-objs.dir/src/modules.cc.o -c /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/modules.cc [5/9] /usr/bin/x86_64-pc-linux-gnu-g++ -I/usr/include/lua5.4 -march=native -O3 -pipe -fPIC -MD -MT CMakeFiles/rime-lua-objs.dir/src/opencc.cc.o -MF CMakeFiles/rime-lua-objs.dir/src/opencc.cc.o.d -o CMakeFiles/rime-lua-objs.dir/src/opencc.cc.o -c /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/opencc.cc [6/9] /usr/bin/x86_64-pc-linux-gnu-g++ -I/usr/include/lua5.4 -march=native -O3 -pipe -fPIC -MD -MT CMakeFiles/rime-lua-objs.dir/src/lua_gears.cc.o -MF CMakeFiles/rime-lua-objs.dir/src/lua_gears.cc.o.d -o CMakeFiles/rime-lua-objs.dir/src/lua_gears.cc.o -c /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lua_gears.cc [7/9] /usr/bin/x86_64-pc-linux-gnu-g++ -I/usr/include/lua5.4 -march=native -O3 -pipe -fPIC -MD -MT CMakeFiles/rime-lua-objs.dir/src/types_ext.cc.o -MF CMakeFiles/rime-lua-objs.dir/src/types_ext.cc.o.d -o CMakeFiles/rime-lua-objs.dir/src/types_ext.cc.o -c /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types_ext.cc [8/9] /usr/bin/x86_64-pc-linux-gnu-g++ -I/usr/include/lua5.4 -march=native -O3 -pipe -fPIC -MD -MT CMakeFiles/rime-lua-objs.dir/src/types.cc.o -MF CMakeFiles/rime-lua-objs.dir/src/types.cc.o.d -o CMakeFiles/rime-lua-objs.dir/src/types.cc.o -c /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc FAILED: CMakeFiles/rime-lua-objs.dir/src/types.cc.o /usr/bin/x86_64-pc-linux-gnu-g++ -I/usr/include/lua5.4 -march=native -O3 -pipe -fPIC -MD -MT CMakeFiles/rime-lua-objs.dir/src/types.cc.o -MF CMakeFiles/rime-lua-objs.dir/src/types.cc.o.d -o CMakeFiles/rime-lua-objs.dir/src/types.cc.o -c /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc In file included from /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_export_type.h:3, from /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:22: /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:667:88: error: incomplete type ‘MemberWrapper::*)() const noexcept, &std::vector::size>’ used in nested name specifier 667 | #define WRAPMEM_2(T, f) (&(LuaWrapper::wrapT), \ | ^~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:361:15: note: in expansion of macro ‘WRAPMEM’ 361 | { "size", WRAPMEM(T, size) }, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:667:95: error: expected primary-expression before ‘>’ token 667 | #define WRAPMEM_2(T, f) (&(LuaWrapper::wrapT), \ | ^ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:361:15: note: in expansion of macro ‘WRAPMEM’ 361 | { "size", WRAPMEM(T, size) }, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:667:96: error: expected primary-expression before ‘)’ token 667 | #define WRAPMEM_2(T, f) (&(LuaWrapper::wrapT), \ | ^ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:361:15: note: in expansion of macro ‘WRAPMEM’ 361 | { "size", WRAPMEM(T, size) }, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:668:88: error: incomplete type ‘MemberWrapper::*)() const noexcept, &std::vector::size>’ used in nested name specifier 668 | &MemberWrapper::wrapT>::wrap)) | ^~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:361:15: note: in expansion of macro ‘WRAPMEM’ 361 | { "size", WRAPMEM(T, size) }, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:361:23: error: template argument 1 is invalid 361 | { "size", WRAPMEM(T, size) }, | ^ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:361:15: note: in expansion of macro ‘WRAPMEM’ 361 | { "size", WRAPMEM(T, size) }, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:361:23: error: template argument 2 is invalid 361 | { "size", WRAPMEM(T, size) }, | ^ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:361:15: note: in expansion of macro ‘WRAPMEM’ 361 | { "size", WRAPMEM(T, size) }, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:668:99: error: ‘::wrap’ has not been declared 668 | &MemberWrapper::wrapT>::wrap)) | ^~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:361:15: note: in expansion of macro ‘WRAPMEM’ 361 | { "size", WRAPMEM(T, size) }, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:667:88: error: incomplete type ‘MemberWrapper::*)() const noexcept, &std::__cxx11::list::empty>’ used in nested name specifier 667 | #define WRAPMEM_2(T, f) (&(LuaWrapper::wrapT), \ | ^~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:592:15: note: in expansion of macro ‘WRAPMEM’ 592 | {"empty", WRAPMEM(T, empty)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:667:95: error: expected primary-expression before ‘>’ token 667 | #define WRAPMEM_2(T, f) (&(LuaWrapper::wrapT), \ | ^ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:592:15: note: in expansion of macro ‘WRAPMEM’ 592 | {"empty", WRAPMEM(T, empty)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:667:96: error: expected primary-expression before ‘)’ token 667 | #define WRAPMEM_2(T, f) (&(LuaWrapper::wrapT), \ | ^ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:592:15: note: in expansion of macro ‘WRAPMEM’ 592 | {"empty", WRAPMEM(T, empty)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:668:88: error: incomplete type ‘MemberWrapper::*)() const noexcept, &std::__cxx11::list::empty>’ used in nested name specifier 668 | &MemberWrapper::wrapT>::wrap)) | ^~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:592:15: note: in expansion of macro ‘WRAPMEM’ 592 | {"empty", WRAPMEM(T, empty)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:592:23: error: template argument 1 is invalid 592 | {"empty", WRAPMEM(T, empty)}, | ^ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:592:15: note: in expansion of macro ‘WRAPMEM’ 592 | {"empty", WRAPMEM(T, empty)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:592:23: error: template argument 2 is invalid 592 | {"empty", WRAPMEM(T, empty)}, | ^ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:592:15: note: in expansion of macro ‘WRAPMEM’ 592 | {"empty", WRAPMEM(T, empty)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:668:99: error: ‘::wrap’ has not been declared 668 | &MemberWrapper::wrapT>::wrap)) | ^~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:592:15: note: in expansion of macro ‘WRAPMEM’ 592 | {"empty", WRAPMEM(T, empty)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:667:88: error: incomplete type ‘MemberWrapper::*)() noexcept, &std::__cxx11::list::clear>’ used in nested name specifier 667 | #define WRAPMEM_2(T, f) (&(LuaWrapper::wrapT), \ | ^~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:593:15: note: in expansion of macro ‘WRAPMEM’ 593 | {"clear", WRAPMEM(T, clear)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:667:95: error: expected primary-expression before ‘>’ token 667 | #define WRAPMEM_2(T, f) (&(LuaWrapper::wrapT), \ | ^ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:593:15: note: in expansion of macro ‘WRAPMEM’ 593 | {"clear", WRAPMEM(T, clear)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:667:96: error: expected primary-expression before ‘)’ token 667 | #define WRAPMEM_2(T, f) (&(LuaWrapper::wrapT), \ | ^ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:593:15: note: in expansion of macro ‘WRAPMEM’ 593 | {"clear", WRAPMEM(T, clear)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:668:88: error: incomplete type ‘MemberWrapper::*)() noexcept, &std::__cxx11::list::clear>’ used in nested name specifier 668 | &MemberWrapper::wrapT>::wrap)) | ^~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:593:15: note: in expansion of macro ‘WRAPMEM’ 593 | {"clear", WRAPMEM(T, clear)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:593:23: error: template argument 1 is invalid 593 | {"clear", WRAPMEM(T, clear)}, | ^ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:593:15: note: in expansion of macro ‘WRAPMEM’ 593 | {"clear", WRAPMEM(T, clear)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:593:23: error: template argument 2 is invalid 593 | {"clear", WRAPMEM(T, clear)}, | ^ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:593:15: note: in expansion of macro ‘WRAPMEM’ 593 | {"clear", WRAPMEM(T, clear)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:668:99: error: ‘::wrap’ has not been declared 668 | &MemberWrapper::wrapT>::wrap)) | ^~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:593:15: note: in expansion of macro ‘WRAPMEM’ 593 | {"clear", WRAPMEM(T, clear)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:667:88: error: incomplete type ‘MemberWrapper::*)() noexcept, &std::__cxx11::list::pop_back>’ used in nested name specifier 667 | #define WRAPMEM_2(T, f) (&(LuaWrapper::wrapT), \ | ^~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:594:18: note: in expansion of macro ‘WRAPMEM’ 594 | {"pop_back", WRAPMEM(T, pop_back)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:667:95: error: expected primary-expression before ‘>’ token 667 | #define WRAPMEM_2(T, f) (&(LuaWrapper::wrapT), \ | ^ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:594:18: note: in expansion of macro ‘WRAPMEM’ 594 | {"pop_back", WRAPMEM(T, pop_back)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:667:96: error: expected primary-expression before ‘)’ token 667 | #define WRAPMEM_2(T, f) (&(LuaWrapper::wrapT), \ | ^ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:594:18: note: in expansion of macro ‘WRAPMEM’ 594 | {"pop_back", WRAPMEM(T, pop_back)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:668:88: error: incomplete type ‘MemberWrapper::*)() noexcept, &std::__cxx11::list::pop_back>’ used in nested name specifier 668 | &MemberWrapper::wrapT>::wrap)) | ^~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:594:18: note: in expansion of macro ‘WRAPMEM’ 594 | {"pop_back", WRAPMEM(T, pop_back)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:594:26: error: template argument 1 is invalid 594 | {"pop_back", WRAPMEM(T, pop_back)}, | ^ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:594:18: note: in expansion of macro ‘WRAPMEM’ 594 | {"pop_back", WRAPMEM(T, pop_back)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:594:26: error: template argument 2 is invalid 594 | {"pop_back", WRAPMEM(T, pop_back)}, | ^ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:594:18: note: in expansion of macro ‘WRAPMEM’ 594 | {"pop_back", WRAPMEM(T, pop_back)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:668:99: error: ‘::wrap’ has not been declared 668 | &MemberWrapper::wrapT>::wrap)) | ^~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:594:18: note: in expansion of macro ‘WRAPMEM’ 594 | {"pop_back", WRAPMEM(T, pop_back)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:667:88: error: incomplete type ‘MemberWrapper::*)() const noexcept, &std::__cxx11::list::size>’ used in nested name specifier 667 | #define WRAPMEM_2(T, f) (&(LuaWrapper::wrapT), \ | ^~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:599:14: note: in expansion of macro ‘WRAPMEM’ 599 | {"size", WRAPMEM(T, size)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:667:95: error: expected primary-expression before ‘>’ token 667 | #define WRAPMEM_2(T, f) (&(LuaWrapper::wrapT), \ | ^ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:599:14: note: in expansion of macro ‘WRAPMEM’ 599 | {"size", WRAPMEM(T, size)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:667:96: error: expected primary-expression before ‘)’ token 667 | #define WRAPMEM_2(T, f) (&(LuaWrapper::wrapT), \ | ^ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:599:14: note: in expansion of macro ‘WRAPMEM’ 599 | {"size", WRAPMEM(T, size)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:668:88: error: incomplete type ‘MemberWrapper::*)() const noexcept, &std::__cxx11::list::size>’ used in nested name specifier 668 | &MemberWrapper::wrapT>::wrap)) | ^~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:599:14: note: in expansion of macro ‘WRAPMEM’ 599 | {"size", WRAPMEM(T, size)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:599:22: error: template argument 1 is invalid 599 | {"size", WRAPMEM(T, size)}, | ^ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:599:14: note: in expansion of macro ‘WRAPMEM’ 599 | {"size", WRAPMEM(T, size)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:599:22: error: template argument 2 is invalid 599 | {"size", WRAPMEM(T, size)}, | ^ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:599:14: note: in expansion of macro ‘WRAPMEM’ 599 | {"size", WRAPMEM(T, size)}, | ^~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:668:99: error: ‘::wrap’ has not been declared 668 | &MemberWrapper::wrapT>::wrap)) | ^~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in definition of macro ‘WRAP_FIX_MSVC’ 657 | #define WRAP_FIX_MSVC(...) __VA_ARGS__ | ^~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:657:28: note: in expansion of macro ‘WRAPMEM_2’ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:32: note: in expansion of macro ‘WRAP_FIX_MSVC’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:658:46: note: in expansion of macro ‘WRAP_PP_GET3’ 658 | #define WRAP_PP_CHOOSE(F, ...) WRAP_FIX_MSVC(WRAP_PP_GET3(__VA_ARGS__, F##_2, F##_1)) | ^~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/lib/lua_templates.h:673:36: note: in expansion of macro ‘WRAP_PP_CHOOSE’ 673 | #define WRAPMEM(...) WRAP_FIX_MSVC(WRAP_PP_CHOOSE(WRAPMEM, __VA_ARGS__)(__VA_ARGS__)) | ^~~~~~~~~~~~~~ /tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999/src/types.cc:599:14: note: in expansion of macro ‘WRAPMEM’ 599 | {"size", WRAPMEM(T, size)}, | ^~~~~~~ ninja: build stopped: subcommand failed. * ERROR: app-i18n/librime-lua-99999999999999::gentoo failed (compile phase): * ninja -v -j16 -l0 failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 3105: Called cmake_src_compile * environment, line 1301: Called cmake_build * environment, line 1268: Called eninja * environment, line 1735: Called die * The specific snippet of code: * "$@" || die -n "${*} failed" * * If you need support, post the output of `emerge --info '=app-i18n/librime-lua-99999999999999::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-i18n/librime-lua-99999999999999::gentoo'`. * The complete build log is located at '/tmp/portage/app-i18n/librime-lua-99999999999999/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/app-i18n/librime-lua-99999999999999/temp/environment'. * Working directory: '/tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999_build' * S: '/tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999' >>> Failed to emerge app-i18n/librime-lua-99999999999999, Log file: >>> '/tmp/portage/app-i18n/librime-lua-99999999999999/temp/build.log' * Messages for package app-i18n/librime-lua-99999999999999: * ERROR: app-i18n/librime-lua-99999999999999::gentoo failed (compile phase): * ninja -v -j16 -l0 failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 3105: Called cmake_src_compile * environment, line 1301: Called cmake_build * environment, line 1268: Called eninja * environment, line 1735: Called die * The specific snippet of code: * "$@" || die -n "${*} failed" * * If you need support, post the output of `emerge --info '=app-i18n/librime-lua-99999999999999::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-i18n/librime-lua-99999999999999::gentoo'`. * The complete build log is located at '/tmp/portage/app-i18n/librime-lua-99999999999999/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/app-i18n/librime-lua-99999999999999/temp/environment'. * Working directory: '/tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999_build' * S: '/tmp/portage/app-i18n/librime-lua-99999999999999/work/librime-lua-99999999999999'