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
Trying to build a bare-bones project in VS2017 including <sol/sol.hpp> and using 1.41 platform toolset produces a bunch of errors:
Severity Code Description Project File Line Suppression State
Error C2027 use of undefined type 'std::_Get_first_parameter<_Ty>' SOL c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\include\xmemory0 266
Error C2061 syntax error: identifier 'type' SOL c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\include\xmemory0 266
Error C2039 'type': is not a member of 'std::_Get_element_type<_Ty,void>' SOL c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\include\xmemory0 309
Error C2061 syntax error: identifier 'type' SOL c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\include\xmemory0 309
Error C2065 'element_type': undeclared identifier SOL c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\include\xmemory0 316
Error C2923 'std::is_void_v': 'element_type' is not a valid template type argument for parameter '_Ty' SOL c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\include\xmemory0 316
Error C3245 'std::is_void_v': use of a variable template requires template argument list SOL c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\include\xmemory0 316
Error C2065 'element_type': undeclared identifier SOL c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\include\xmemory0 318
Error C2923 'std::add_lvalue_reference_t': 'element_type' is not a valid template type argument for parameter '_Ty' SOL c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\include\xmemory0 318
Error C2039 'element_type': is not a member of 'std::pointer_traits<sol::basic_protected_function<sol::reference,false,sol::reference>>' SOL c:\users\fagota\source\repos\sol\sol\assets\include\sol\unique_usertype_traits.hpp 110
Error C2061 syntax error: identifier 'element_type' SOL c:\users\fagota\source\repos\sol\sol\assets\include\sol\unique_usertype_traits.hpp 110
Error C2027 use of undefined type 'std::_Get_first_parameter<_Ty>' SOL c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\include\xmemory0 266
Error C2039 'type': is not a member of 'std::_Get_element_type<_Ty,void>' SOL c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\include\xmemory0 309
Error C2039 'element_type': is not a member of 'std::pointer_traits<sol::basic_reference<false>>' SOL c:\users\fagota\source\repos\sol\sol\assets\include\sol\unique_usertype_traits.hpp 110
Error C2027 use of undefined type 'std::_Get_first_parameter<_Ty>' SOL c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\include\xmemory0 266
Error C2039 'type': is not a member of 'std::_Get_element_type<_Ty,void>' SOL c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\include\xmemory0 309
Error C2039 'element_type': is not a member of 'std::pointer_traits<sol::error>' SOL c:\users\fagota\source\repos\sol\sol\assets\include\sol\unique_usertype_traits.hpp 110
Error C2027 use of undefined type 'std::_Get_first_parameter<_Ty>' SOL c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\include\xmemory0 266
Error C2039 'type': is not a member of 'std::_Get_element_type<_Ty,void>' SOL c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\include\xmemory0 309
Error C2039 'element_type': is not a member of 'std::pointer_traits<bool>' SOL c:\users\fagota\source\repos\sol\sol\assets\include\sol\unique_usertype_traits.hpp 110
Toggling Conformance mode does nothing.
The same project builds fine under VS2019 using 1.42 platform toolset.
Is there any way I can get it to build under VS2017 with the 1.41 toolset?
EDIT: As usual, a last-second check after posting something... Including the single header seems to build just fine.
The text was updated successfully, but these errors were encountered:
Hi all,
Trying to build a bare-bones project in VS2017 including <sol/sol.hpp> and using 1.41 platform toolset produces a bunch of errors:
Toggling Conformance mode does nothing.
The same project builds fine under VS2019 using 1.42 platform toolset.
Is there any way I can get it to build under VS2017 with the 1.41 toolset?
EDIT: As usual, a last-second check after posting something... Including the single header seems to build just fine.
The text was updated successfully, but these errors were encountered: