user1387866
user1387866

Reputation: 3024

How to disable Visual Studio warnings for a specific symbol?

Is there a way in Microsoft Visual Studio 2015 Update 3 to disable a warning for a specific C++ symbol?

That is, does Microsoft Visual Studio 2015 Update 3 have a functionality similar to the one of PC-Lint documented here https://www.gimpel.com/html/techfaq.htm#q5 ?

Upvotes: 0

Views: 237

Answers (1)

Öö Tiib
Öö Tiib

Reputation: 11011

No. The compilers typically do not have flexibility of static analysis tools. Visual studio lets to turn individual warnings on and off from command line per file or from code using pragmas per specific code lines. Docs are at Microsoft site

Upvotes: 1

Related Questions