您是否推荐在C / C ++ on Build上启用代码分析? [英] Do you recommend Enabling Code Analysis for C/C++ on Build?

查看:122
本文介绍了您是否推荐在C / C ++ on Build上启用代码分析?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是Visual Studio 2010,在我的C ++ / CLI项目中有两个代码分析设置:

I'm using Visual Studio 2010, and in my C++/CLI project there are two Code Analysis settings:


  1. 启用代码分析on Build

  2. 启用对C / C ++ on Build的代码分析

我的问题是关于第二个设置。

My question is about the second setting.

我已启用它,它需要很长时间才能运行,并且找不到太多。

I've enabled it and it takes a long time to run and it doesn't find much.

您是否建议启用此功能?为什么?

Do you recommend enabling this feature? Why?

推荐答案

从来没有对我做任何事情。理论上,它应该帮助捕获逻辑错误,但我从来没有发现它报告任何东西。

Never did anything for me. In theory, it's supposed to help catch logical errors, but I've never found it to report anything.

这篇关于您是否推荐在C / C ++ on Build上启用代码分析?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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