本版本的编译器中不提供代码分析 [英] Code Analysis Not Available in This Edition of the Compiler

查看:254
本文介绍了本版本的编译器中不提供代码分析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在我的本机C ++应用程序上第一次运行代码分析。我正在开发使用Visual Studio 2013 Ultimate和编译使用Visual C ++编译器2013年11月CTP(CTP_Nov2013),这是最新的(我相信)编译器从MS的C ++ 11。当尝试运行代码分析时,我收到以下警告:

I'm trying to run code analysis for the first time on my native C++ application. I'm developing using Visual Studio 2013 Ultimate and compiling using the Visual C++ Compiler Nov 2013 CTP (CTP_Nov2013), which is the latest (I believe) compiler from MS for C++11. When trying to run Code Analysis I receive the following warning:


警告D9040:忽略选项'/ analyze'代码分析警告在此版本的编译器中不可用

warning D9040: ignoring option '/analyze'; Code Analysis warnings are not available in this edition of the compiler

所以我想知道是否是因为我使用这个新编译器它不能运行代码分析或什么。但我没有找到任何答案简单地谷歌。 Visual Studio的MSDN说,代码分析适用于除Express之外的所有版本的VS。任何帮助将不胜感激,如果它是一个不,它不工作与该编译器,那么没关系。就是想。谢谢!

So I'm wondering if it's because I'm using this new compiler that it's not able to run code analysis or what. But I couldn't find any answers by briefly Googling. The MSDN for Visual Studio says code analysis works for all version of VS except Express. Any help would be appreciated, and if it's a "No it doesn't work with that compiler" then that's fine. Just wondering. Thanks!

推荐答案

它似乎只适用于x86版本。如果你正在做一个x64版本,它将不可用。

It seems to work only for x86 builds. If you're doing an x64 build, it won't be available.

这篇关于本版本的编译器中不提供代码分析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆