问题描述
使用VS2013,32位配置
我想使用/ Wp64。我现在不想创建/使用x64构建配置(x64)
即我想在32位应用程序中使用/ Wp64(vs2013),以了解可移植性问题
我收到警告,如下所示。
1> cl:命令行警告D9035:选项'Wp64'有已弃用,将在以后的版本中删除
1> precompiled.cpp
1> C:\Program Files \ Microsoft Visual Studio 12.0\VC\include\intrin.h(230):错误C2220:警告被视为错误 - 没有'对象'文件生成
1> C:\Program Files \ Microsoft Visual Studio 12.0 \ VC \ include \ intrin.h(230):警告C4311:'type cast' :指针截断从'void *'到'long'
1> C:\Program Files \ Microsoft Visual Studio 12.0\VC\include\intrin.h(230):警告C4312:'type cast':从'long'到'void *'转换为更大尺寸
$
有没有办法启用/使用 这个/ vs2013中的Wp64(32位配置)
Using VS2013, 32 bit configuration
I want to use /Wp64 . I don't want to create/use x64 build configurations now(x64)
ie i want to use /Wp64 in 32 bit application(vs2013), to know the portability issues
I am getting warnings as show below.
1>cl : Command line warning D9035: option 'Wp64' has been deprecated and will be removed in a future release
1> precompiled.cpp
1>C:\Program Files\Microsoft Visual Studio 12.0\VC\include\intrin.h(230): error C2220: warning treated as error - no 'object' file generated
1>C:\Program Files\Microsoft Visual Studio 12.0\VC\include\intrin.h(230): warning C4311: 'type cast' : pointer truncation from 'void *' to 'long'
1>C:\Program Files\Microsoft Visual Studio 12.0\VC\include\intrin.h(230): warning C4312: 'type cast' : conversion from 'long' to 'void *' of greater size
Is there any way to enable/use this /Wp64 in vs2013 (32bit config)
推荐答案
这篇关于在vs2013中使用/ Wp64(32位配置)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!