Ashwin Nanjappa
Ashwin Nanjappa

Reputation: 78498

Where can I get a list of all errors & warnings?

Is there some place where I can get a list of all Visual C++ compiler/linker errors/warnings? I am looking for both the error/warning number and the error/warning text that is displayed by the compiler. MSDN has them all, but they are linked to on individual pages.

Upvotes: 17

Views: 3607

Answers (2)

Lekensteyn
Lekensteyn

Reputation: 66425

Al list of all warnings for VS2015 and VS2017 can be found at sections such as C++ Core Guidelines Checker Reference, Code Analysis for C/C++ Warnings, and other related sections linked from the References header in the left menu.

For example, here is a document describing C6001: using uninitialized memory [variable].

I am not sure if there is a single page covering all warning codes, but lacking one, you can clone the documentation sources and search through it yourself: https://github.com/MicrosoftDocs/visualstudio-docs/tree/master/docs/code-quality

Upvotes: 1

Lightness Races in Orbit
Lightness Races in Orbit

Reputation: 385194

Apparently, none exists: googling for a single page containing all the terms lnk1000 lnk1003 c4100 yields no results.

I think you'll have to compile a reference yourself by painstaking navigation through this MSDN section.

Upvotes: 9

Related Questions