Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/hyprwayland-scanner: unbreak build with libc++ 16
src/main.cpp:218:24: error: no member named 'format' in namespace 'std' HEADER += std::format("enum {} : uint32_t {{\n", en.name); ~~~~~^ src/main.cpp:220:28: error: no member named 'format' in namespace 'std' HEADER += std::format(" {} = {},\n", k, v); ~~~~~^ src/main.cpp:228:24: error: no member named 'format' in namespace 'std' HEADER += std::format("\nclass {};", IFACE_CLASS_NAME_CAMEL); ~~~~~^ src/main.cpp:237:24: error: no member named 'format' in namespace 'std' HEADER += std::format("extern const wl_interface {};\n", IFACE_WL_NAME, IFACE_WL_NAME_CAMEL, IFACE_WL_NAME); ~~~~~^ src/main.cpp:247:24: error: no member named 'format' in namespace 'std' HEADER += std::format(R"#( ~~~~~^ src/main.cpp:289:28: error: no member named 'format' in namespace 'std' HEADER += std::format(" void {}(F<void({}*{})> handler);\n", camelize("set_" + rq.name), IFACE_CLASS_NAME_CAMEL, args); ~~~~~^ src/main.cpp:307:28: error: no member named 'format' in namespace 'std' HEADER += std::format(" void {}({});\n", camelize("send_" + ev.name), args); ~~~~~^ src/main.cpp:330:28: error: no member named 'format' in namespace 'std' HEADER += std::format(" F<void({}*{})> {};\n", IFACE_CLASS_NAME_CAMEL, args, camelize(rq.name)); ~~~~~^ src/main.cpp:337:24: error: no member named 'format' in namespace 'std' HEADER += std::format(R"#( ~~~~~^ src/main.cpp:356:20: error: no member named 'format' in namespace 'std' SOURCE += std::format(R"#(#define private public ~~~~~^ src/main.cpp:385:24: error: no member named 'format' in namespace 'std' SOURCE += std::format("extern const wl_interface {};\n", IFACE_WL_NAME, IFACE_WL_NAME_CAMEL, IFACE_WL_NAME); ~~~~~^ src/main.cpp:399:36: error: no member named 'format' in namespace 'std' SOURCE += std::format("extern const wl_interface {};\n", IFACE_WL_NAME2, IFACE_WL_NAME_CAMEL2, IFACE_WL_NAME2); ~~~~~^ src/main.cpp:414:36: error: no member named 'format' in namespace 'std' SOURCE += std::format("extern const wl_interface {};\n", IFACE_WL_NAME2, IFACE_WL_NAME_CAMEL2, IFACE_WL_NAME2); ~~~~~^ src/main.cpp:452:28: error: no member named 'format' in namespace 'std' SOURCE += std::format(R"#( ~~~~~^ src/main.cpp:463:24: error: no member named 'format' in namespace 'std' SOURCE += std::format(R"#( ~~~~~^ src/main.cpp:475:24: error: no member named 'format' in namespace 'std' SOURCE += std::format(R"#( ~~~~~^ src/main.cpp:482:28: error: no member named 'format' in namespace 'std' SOURCE += std::format(" (void*){},\n", REQUEST_NAME); ~~~~~^ src/main.cpp:514:28: error: no member named 'format' in namespace 'std' SOURCE += std::format(R"#( ~~~~~^ src/main.cpp:532:28: error: no member named 'format' in namespace 'std' SOURCE += std::format("static const wl_interface* {}[] = {{\n", TYPE_TABLE_NAME); ~~~~~^ fatal error: too many errors emitted, stopping now [-ferror-limit=] Reported by: pkg-fallout
- Loading branch information