1 mike 1.1 /*
2 **==============================================================================
3 **
4 ** Open Management Infrastructure (OMI)
5 **
6 ** Copyright (c) Microsoft Corporation
7 **
8 ** Licensed under the Apache License, Version 2.0 (the "License"); you may not
9 ** use this file except in compliance with the License. You may obtain a copy
10 ** of the License at
11 **
12 ** http://www.apache.org/licenses/LICENSE-2.0
13 **
14 ** THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ** KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
16 ** WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
17 ** MERCHANTABLITY OR NON-INFRINGEMENT.
18 **
19 ** See the Apache 2 License for the specific language governing permissions
20 ** and limitations under the License.
21 **
22 mike 1.1 **==============================================================================
23 */
24
|
27 mike 1.2 #if defined(_MSC_VER)
28
29 /* warning C4127: conditional expression is constant */
30 # pragma warning(disable : 4127 )
31
32 /* warning C4244: '=' : conversion from '?' to '?', possible loss of data */
33 # pragma warning(disable : 4244 )
34 # pragma warning(disable : 4242 )
35
36 /* warning C4131: '?' : uses old-style declarator */
37 # pragma warning(disable : 4131 )
38
39 /* warning C4267: '=' : conversion from '?' to '?', possible loss of data */
40 # pragma warning(disable : 4267)
41
42
43 /* PreFast - reviewed and believed to be false-positive*/
44
45 /* warning C6385: Invalid data: accessing '??', the readable size is 'x' bytes, but 'y' bytes might be read: Lines: ... */
46 # pragma warning(disable : 6385)
47
48 mike 1.2 /* warning C6011: Dereferencing NULL pointer '??': Lines: */
49 # pragma warning(disable : 6011)
50
51 #ifdef _PREFAST_
|