Replies: 1 comment 2 replies
-
I don't have a working copy of VS2022 at the moment but this looks a lot like the C++ version to use doesn't propagate to the imported library. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi I'm using the single header of entt with vc2022 using the 'Preview - Features from the Latest C++ Working Draft (/std:c++latest) 'language standard, and I've the following errors when compiling.
Severity Code Description Project File Line Suppression State
Error (active) E0526 a parameter may not have void type Engine D:\Projects\Engine\libraries\entt\entt.hpp 15290
Error (active) E0018 expected a ')' Engine D:\Projects\Engine\libraries\entt\entt.hpp 15290
Error C2143 syntax error: missing ')' before '=' (compiling source file src\components\Component.cpp) Engine D:\Projects\ Engine\libraries\entt\entt.hpp 13116
Error C2143 syntax error: missing ';' before '=' (compiling source file src\components\Component.cpp) Engine D:\Projects\Engine\libraries\entt\entt.hpp 13116
Error C2059 syntax error: '*=' (compiling source file src\components\Component.cpp) Engine D:\Projects\Engine\libraries\entt\entt.hpp 13116
Error C2059 syntax error: ')' (compiling source file src\components\Component.cpp) Engine D:\Projects\Engine\libraries\entt\entt.hpp 13116
Error C2334 unexpected token(s) preceding '{'; skipping apparent function body (compiling source file src\components\Component.cpp) Engine D:\Projects\Engine\libraries\entt\entt.hpp 13116
and a whole load more of the same. the first 2 are for the following.
template<typename Ret, typename... Args>
delegate(Ret(*)(const void *, Args...), const void *= nullptr)->delegate<Ret(Args...)>;
any help would be grateful.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions