You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 27, 2024. It is now read-only.
[ 8%]: cache compiling.release src/Ayan.cpp
[ 8%]: cache compiling.release src/core/bot.cpp
[ 8%]: cache compiling.release src/core/env.cpp
[ 8%]: cache compiling.release src/core/service.cpp
error: src/core/service.h:421:84: error: to refer to a type member of a template parameter, use ‘typename MixFirst::TargetEvent’ [-fpermissive]
421 | if constexpr (std::is_same<MixFirst::TargetEvent, E>())
| ^
src/core/service.h: In member function ‘bool ayan::MixinService::_wake_impl(ayan::Bot&, E&)’:
src/core/service.h:431:84: error: to refer to a type member of a template parameter, use ‘typename MixFirst::TargetEvent’ [-fpermissive]
431 | if constexpr (std::is_same<MixFirst::TargetEvent, E>())
| ^
src/core/service.h: In member function ‘bool ayan::MixinService::_sleep_impl(ayan::Bot&, E&)’:
src/core/service.h:441:84: error: to refer to a type member of a template parameter, use ‘typename MixFirst::TargetEvent’ [-fpermissive]
441 | if constexpr (std::is_same<MixFirst::TargetEvent, E>())
| ^
src/core/service.h: In member function ‘bool ayan::MixinService::_trig_impl(ayan::Bot&, E&)’:
src/core/service.h:451:84: error: to refer to a type member of a template parameter, use ‘typename MixFirst::TargetEvent’ [-fpermissive]
451 | if constexpr (std::is_same<MixFirst::TargetEvent, E>())
| ^
src/core/service.h: In member function ‘bool ayan::MixinService::_act_impl(ayan::Bot&, E&)’:
src/core/service.h:461:84: error: to refer to a type member of a template parameter, use ‘typename MixFirst::TargetEvent’ [-fpermissive]
in src/Ayan.cpp
warning: add_cxxflags("-fconcept") is ignored, please pass {force = true} or call set_policy("check.auto_ignore_flags", false) if you want to set it.
请问我这个地方是哪里出了问题呀?是gcc版本不支持的原因么?还是clang没配置好的问题呀?
The text was updated successfully, but these errors were encountered:
本机环境gcc版本为11.3.0,clang版本为11.0.0
git clone到本地后,进入文件夹执行xmake命令,出现如下报错信息
[ 8%]: cache compiling.release src/Ayan.cpp
[ 8%]: cache compiling.release src/core/bot.cpp
[ 8%]: cache compiling.release src/core/env.cpp
[ 8%]: cache compiling.release src/core/service.cpp
error: src/core/service.h:421:84: error: to refer to a type member of a template parameter, use ‘typename MixFirst::TargetEvent’ [-fpermissive]
421 | if constexpr (std::is_same<MixFirst::TargetEvent, E>())
| ^
src/core/service.h: In member function ‘bool ayan::MixinService::_wake_impl(ayan::Bot&, E&)’:
src/core/service.h:431:84: error: to refer to a type member of a template parameter, use ‘typename MixFirst::TargetEvent’ [-fpermissive]
431 | if constexpr (std::is_same<MixFirst::TargetEvent, E>())
| ^
src/core/service.h: In member function ‘bool ayan::MixinService::_sleep_impl(ayan::Bot&, E&)’:
src/core/service.h:441:84: error: to refer to a type member of a template parameter, use ‘typename MixFirst::TargetEvent’ [-fpermissive]
441 | if constexpr (std::is_same<MixFirst::TargetEvent, E>())
| ^
src/core/service.h: In member function ‘bool ayan::MixinService::_trig_impl(ayan::Bot&, E&)’:
src/core/service.h:451:84: error: to refer to a type member of a template parameter, use ‘typename MixFirst::TargetEvent’ [-fpermissive]
451 | if constexpr (std::is_same<MixFirst::TargetEvent, E>())
| ^
src/core/service.h: In member function ‘bool ayan::MixinService::_act_impl(ayan::Bot&, E&)’:
src/core/service.h:461:84: error: to refer to a type member of a template parameter, use ‘typename MixFirst::TargetEvent’ [-fpermissive]
请问我这个地方是哪里出了问题呀?是gcc版本不支持的原因么?还是clang没配置好的问题呀?
The text was updated successfully, but these errors were encountered: