visual-c++-2013

How to get VS2013 to stop generating calls to __dtol3, __dtoui3, and other functions for casting between integer types?

和自甴很熟 提交于 2019-11-30 09:14:20
I am in the process of upgrading a Visual Studio 2010 project that targets the INtime RTOS. Code that performs casting operations fail to link. When investigating the "inline assembly" output files, it turns out that for some integer casting operations, VS2013 is generating assembly instructions to calls to __dtol3, __dtoui3, __dtoul3, __ltod3, and __ultod3. The problem is that the INtime libraries do not contain definitions for these functions. I've verified that VS2013 does the same for Win32 targets for both Debug and Release builds. Is there a way to get VS2013 to stop generating

“no known features for CXX compiler” when compiling with MSVC++ 2013

眉间皱痕 提交于 2019-11-28 08:22:51
问题 I have a relatively simple CMakeLists.txt that contains the following line(s): target_compile_features(myapp PRIVATE cxx_generalized_initializers cxx_lambdas cxx_nullptr) When I run cmake on a Windows 2012 Server with MSVC++ 2013 Express installed, I get the following error: CMake Error at CMakeLists.txt:61 (target_compile_features): target_compile_features no known features for CXX compiler "MSVC" version 18.0.30723.0. What is causing this error, and what can I do about it? CMake doesn't