Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of #pragma warning disable codes and what they mean

The syntax for disabling warnings is as follows:

#pragma warning disable 414, 3021 

Or, expressed more generally:

#pragma warning disable [CSV list of numeric codes] 

Is there a list of these numeric codes and the description of the warning that they're suppressing? Much to my chagrin, I can't seem to locate it via Google.

like image 284
Garrett Avatar asked Jun 02 '09 22:06

Garrett


People also ask

What is list of () in Java?

The List interface in Java provides a way to store the ordered collection. It is a child interface of Collection. It is an ordered collection of objects in which duplicate values can be stored. Since List preserves the insertion order, it allows positional access and insertion of elements.

What does list of method do in Java?

List allows you to add duplicate elements. List allows you to have 'null' elements. List interface got many default methods in Java 8, for example replaceAll, sort and spliterator. List indexes start from 0, just like arrays.


1 Answers

MSDN has a list of warning codes. Unfortunately, you have to click each link to view what the code actually means.

like image 52
MiffTheFox Avatar answered Sep 20 '22 07:09

MiffTheFox