I want to disable Code Analysis for a CPP file. There is a way to exclude header files.
https://msdn.microsoft.com/en-us/library/zyhb0b82(v=vs.100).aspx
#include <codeanalysis\warnings.h>
#pragma warning( push )
#pragma warning ( disable : ALL_CODE_ANALYSIS_WARNINGS )
#include <third-party include files here>
#pragma warning( pop )
I want to disable for CPP file. Can some one help me, if there is a way to do this.
Thanks Santhi