pragmas_msvc.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043 #pragma warning(2:4032) // function arg has different type from declaration
00044 #pragma warning(2:4092) // 'sizeof' value too big
00045 #pragma warning(2:4132 4268)// const object not initialized
00046 #pragma warning(2:4152) // pointer conversion between function and data
00047 #pragma warning(2:4239) // standard doesn't allow this conversion
00048 #pragma warning(2:4701) // local variable used without being initialized
00049 #pragma warning(2:4706) // if (a=b) instead of (if a==b)
00050 #pragma warning(2:4709) // comma in array subscript
00051 #pragma warning(3:4061) // not all enum values tested in switch statement
00052 #pragma warning(3:4710) // inline function was not inlined
00053 #pragma warning(3:4121) // space added for structure alignment
00054 #pragma warning(3:4505) // unreferenced local function removed
00055 #pragma warning(3:4019) // empty statement at global scope
00056 #pragma warning(3:4057) // pointers refer to different base types
00057 #pragma warning(3:4125) // decimal digit terminates octal escape
00058 #pragma warning(2:4131) // old-style function declarator
00059 #pragma warning(3:4211) // extern redefined as static
00060 #pragma warning(3:4213) // cast on left side of = is non-standard
00061 #pragma warning(3:4222) // member function at file scope shouldn't be static
00062 #pragma warning(3:4234 4235)// keyword not supported or reserved for future
00063 #pragma warning(3:4503) // decorated name length exceeded, name was truncated
00064 #pragma warning(3:4504) // type ambiguous; simplify code
00065 #pragma warning(3:4507) // explicit linkage specified after default linkage
00066 #pragma warning(3:4515) // namespace uses itself
00067 #pragma warning(3:4516 4517)// access declarations are deprecated
00068 #pragma warning(3:4670) // base class of thrown object is inaccessible
00069 #pragma warning(3:4671) // copy ctor of thrown object is inaccessible
00070 #pragma warning(3:4673) // thrown object cannot be handled in catch block
00071 #pragma warning(3:4674) // dtor of thrown object is inaccessible
00072 #pragma warning(3:4705) // statement has no effect (example: a+1;)
00073