[英]Visual Studio 2010 X86 Release ignoring #pragma warnings and /W0 C++
Visual Studio 2010 Win32 X86 Release ignoring #pragma warnings and /W0 C++ Visual Studio 2010 Win32 X86版本忽略#pragma警告和/ W0 C ++
All other combos (debug and X64) supress using #pragma fine, but not in release X86. 所有其他使用#pragma的组合(调试和X64)约束都可以,但不能在X86版本中使用。 Also ignoring command line switch /WO for suppress all warnings.
同时忽略命令行开关/ WO禁止显示所有警告。
Any clues on this one? 关于这个有什么线索吗?
#pragma warning(disable:6308)
Warning 2 warning C6308: 'realloc' might return null pointer: ...
... /Zi /nologo /W0 /WX /O2 /Oi /Oy- /D "WIN32" ...
如果您不需要/不需要代码修复,则禁用WIN32版本的代码分析将解决此问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.