李进安
李进安
I cant catch what your means "works with vs 2015 in all cases", I add this segment reference form the pch_souce config in the next part as follow: < ItemGroup...
in the template file MPC/templates/vs2017platforms.mpt it set WindowsTargetPlatformVersion = 10.0.17763.0 but my PC doesn't have Platform SDK with version 10.0.17763.0, when I generate mpc for vs2017 project script, I got...
I tried to change the default in vs2017platforms.mpt to 10.0 but it didn't work like vs2019. Also I found different version vs2017 (with different service package )should use different stategy,...
After referency form https://stackoverflow.com/questions/54134339/how-do-i-specify-any-windows-sdk-version-greater-than-10-0-in-a-visual-studio and may times tests, I found a solution as follow: First, Keep %MPC_ROOT%\templates\vs2017platforms.mpt as it's origin fashion. Second, Modify %MPC_ROOT%\templates\vc10.mpd and change \ \\ \ to...
我们的用户都是传统的国企,甚至还有人在用vs2010,更有甚者有的部门居然在用vc6开发,希望能用上您的库,谢谢!!!
vs2013中不支持constexpr,根据网上的说法替换成const后,编译example client 报如下错误: 1>------ Rebuild All started: Project: client, Configuration: Debug Win32 ------ 1> main.cpp 1>c:\users\administrator\desktop\rest_rpc\include\rest_rpc\meta_util.hpp(11): error C2039: 'index_sequence' : is not a member of 'std' 1>c:\users\administrator\desktop\rest_rpc\include\rest_rpc\meta_util.hpp(11): error C2061: syntax...
把 #if __cplusplus == 201103L 改成 #if _MSC_VER == 1800后,删除noexcept【vs2013不支持】,再次编译example客户端代码报错如下: 1>c:\users\administrator\desktop\rest_rpc\include\rest_rpc\cplusplus_14.h(63): error C2386: 'enable_if_t' : a symbol with this name already exists in the current scope 1>c:\users\administrator\desktop\rest_rpc\include\rest_rpc\cplusplus_14.h(65): error C2386: 'remove_const_t'...
还是不行,在一些编译错误的文件中,我增加了 #if _MSC_VER < 1900 #define constexpr const #define noexcept #endif 解决了2013不支持constexpr和noexcept的问题, 通过在构造函数中初始化的方式解决了 std::atomic_bool has_connected_ = {false};的编译错误; 但是再次编译还是提示: error C2248: 'msgpack::v1::sbuffer::sbuffer' : cannot access private member declared in class 'msgpack::v1::sbuffer'...