为了能快速了解并处理您的问题,请提供以下基础信息:
问题描述:php7.4.33无法安装Swole4扩展
相关截图(日志、错误):/usr/include/c++/8/bits/stl_set.h:109:62: error: expected primary-expression before ‘;’ token /usr/include/c++/8/bits/stl_set.h:108:20: error: expected ‘,’ before ‘;’ tokenstatic_assert(is_same<typename remove_cv<_Key>::type, _Key>::value,^,"std::set must have a non-const, non-volatile value_type");~/usr/include/c++/8/bits/stl_set.h:109:62: error: expected string-literal before ‘;’ token"std::set must have a non-const, non-volatile value_type");^/usr/include/c++/8/bits/stl_set.h:108:20: error: expected ‘)’ before ‘;’ tokenstatic_assert(is_same<typename remove_cv<_Key>::type, _Key>::value,^)"std::set must have a non-const, non-volatile value_type");~/usr/include/c++/8/bits/stl_set.h:112:62: error: expected ‘(’ before ‘;’ token"std::set must have the same value_type as its allocator");^(/usr/include/c++/8/bits/stl_set.h:112:62: error: expected primary-expression before ‘;’ token/usr/include/c++/8/bits/stl_set.h:111:20: error: expected ‘,’ before ‘;’ tokenstatic_assert(is_same<typename _Alloc::value_type, _Key>::value,^,"std::set must have the same value_type as its allocator");~/usr/include/c++/8/bits/stl_set.h:112:62: error: expected string-literal before ‘;’ token"std::set must have the same value_type as its allocator");^/usr/include/c++/8/bits/stl_set.h:111:20: error: expected ‘)’ before ‘;’ tokenstatic_assert(is_same<typename _Alloc::value_type, _Key>::value,^)"std::set must have the same value_type as its allocator");~In file included from /usr/include/c++/8/set:62,from /root/swoole-4.8.13/include/swoole_util.h:26,from /root/swoole-4.8.13/ext-src/php_swoole_cxx.h:21,from /root/swoole-4.8.13/ext-src/php_swoole.cc:16:/usr/include/c++/8/bits/stl_multiset.h:111:67: error: expected ‘(’ before ‘;’ token"std::multiset must have a non-const, non-volatile value_type");^(/usr/include/c++/8/bits/stl_multiset.h:111:67: error: expected primary-expression before ‘;’ token/usr/include/c++/8/bits/stl_multiset.h:110:20: error: expected ‘,’ before ‘;’ tokenstatic_assert(is_same<typename remove_cv<_Key>::type, _Key>::value,^,"std::multiset must have a non-const, non-volatile value_type");~/usr/include/c++/8/bits/stl_multiset.h:111:67: error: expected string-literal before ‘;’ token"std::multiset must have a non-const, non-volatile value_type");^/usr/include/c++/8/bits/stl_multiset.h:110:20: error: expected ‘)’ before ‘;’ tokenstatic_assert(is_same<typename remove_cv<_Key>::type, _Key>::value,^)"std::multiset must have a non-const, non-volatile value_type");~/usr/include/c++/8/bits/stl_multiset.h:114:67: error: expected ‘(’ before ‘;’ token"std::multiset must have the same value_type as its allocator");^(/usr/include/c++/8/bits/stl_multiset.h:114:67: error: expected primary-expression before ‘;’ token/usr/include/c++/8/bits/stl_multiset.h:113:20: error: expected ‘,’ before ‘;’ tokenstatic_assert(is_same<typename _Alloc::value_type, _Key>::value,^,"std::multiset must have the same value_type as its allocator");~/usr/include/c++/8/bits/stl_multiset.h:114:67: error: expected string-literal before ‘;’ token"std::multiset must have the same value_type as its allocator");^/usr/include/c++/8/bits/stl_multiset.h:113:20: error: expected ‘)’ before ‘;’ tokenstatic_assert(is_same<typename _Alloc::value_type, _Key>::value,^)"std::multiset must have the same value_type as its allocator");~make: *** [Makefile:192: ext-src/php_swoole.lo] Error 1error
|
|