Recommended Tools, Compilers and Options For x86, x64 and ARM
Recommended Tools, Compilers and Options For x86, x64 and ARM
for x86/x64/ARM
Unmanaged Code
C/C++ Microsoft Visual Studio 2012 Microsoft Visual Studio 2013 or newer
Compiler
Source code Visual Studio 2012 Code Analysis Visual Studio 2012 Code Analysis
analysis Options (“/analyze”) Options (“/analyze”).
For Visual Studio 2012 code For Visual Studio 2012 code analysis,
analysis, all warning IDs from the all warning IDs from the following list
following list should be fixed: 4532 should be fixed: 4532 6029 6053 6057
6029 6053 6057 6059 6063 6067 6059 6063 6067 6200 6201 6202 6203
6200 6201 6202 6203 6204 6248 6204 6248 6259 6260 6268 6276 6277
6259 6260 6268 6276 6277 6281 6281 6282 6287 6288 6289 6290 6291
6282 6287 6288 6289 6290 6291 6296 6298 6299 6305 6306 6308 6334
6296 6298 6299 6305 6306 6308 6383
6334 6383 Standard Annotation Language (SAL):
Code annotated with SAL should
correct additional warnings in addition
to those listed above. See SDL Standard
Annotation Language (SAL)
Recommendations for Native Win32
Code for more information. The
warnings are summarized as follows:
SAL Compliance
Visual Studio 2012: 26020 - 26023
/analyze
Visual Studio 2012: 6029 6053 6057
6059 6063 6067- 6201-6202 6248 6260
6276 6277 6305
Managed Code
Optimal Recommended
Compiler/ Minimum Recommended Version and
Version and
Tool Switches/Options
Switches/Options