PageRenderTime 18ms CodeModel.GetById 8ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

/project/jni/stlport/src/warning_disable.h

https://github.com/aichunyu/FFPlayer
C Header | 58 lines | 48 code | 5 blank | 5 comment | 5 complexity | f86a61c073a7aecb6af7ebae37069cd7 MD5 | raw file
 1#if !defined (__ICL)
 2/* This header is used to turn off warnings of Microsoft compilers generated.
 3 * while building STLport.
 4 * For compiling user code, see stlport/config/_msvc_warnings_off.h.
 5 */
 6
 7#  if (_MSC_VER < 1200) /* VC5 and before */
 8#    pragma warning( disable : 4018 ) /* signed/unsigned mismatch */
 9#    pragma warning( disable : 4290 ) /* C++ exception specification ignored */
10#    pragma warning( disable : 4389 ) /* '==' : signed/unsigned mismatch */
11#    pragma warning( disable : 4610 ) /* struct '...' can never be instantiated - user defined constructor required */
12#  endif
13
14#  if (_MSC_VER < 1300) /* VC6/eVC4 */
15#    pragma warning( disable : 4097 ) /* typedef-name used as based class of (...) */
16#    pragma warning( disable : 4251 ) /* DLL interface needed */
17#    pragma warning( disable : 4284 ) /* for -> operator */
18#    pragma warning( disable : 4503 ) /* decorated name length exceeded, name was truncated */
19#    pragma warning( disable : 4514 ) /* unreferenced inline function has been removed */
20#    pragma warning( disable : 4660 ) /* template-class specialization '...' is already instantiated */
21#    pragma warning( disable : 4701 ) /* local variable 'base' may be used without having been initialized */
22#    pragma warning( disable : 4710 ) /* function (...) not inlined */
23#    pragma warning( disable : 4786 ) /* identifier truncated to 255 characters */
24#  endif
25
26#  if (_MSC_VER <= 1310)
27#    pragma warning( disable : 4511 ) /* copy constructor cannot be generated */
28#  endif
29
30#  if (_MSC_VER < 1300) && defined (UNDER_CE)
31#    pragma warning( disable : 4201 ) /* nonstandard extension used : nameless struct/union */
32#    pragma warning( disable : 4214 ) /* nonstandard extension used : bit field types other than int */
33#  endif
34
35#  pragma warning( disable : 4075 ) /* initializers put in unrecognized initialization area */
36/* This warning is disable only for the c_locale_win32.c file compilation:  */
37#  pragma warning( disable : 4100 ) /* unreferenced formal parameter */
38#  pragma warning( disable : 4127 ) /* conditional expression is constant */
39#  pragma warning( disable : 4146 ) /* unary minus applied to unsigned type */
40#  pragma warning( disable : 4245 ) /* conversion from 'enum ' to 'unsigned int', signed/unsigned mismatch */
41#  pragma warning( disable : 4244 ) /* implicit conversion: possible loss of data */
42#  pragma warning( disable : 4512 ) /* assignment operator could not be generated */
43#  pragma warning( disable : 4571 ) /* catch(...) blocks compiled with /EHs do not catch or re-throw Structured Exceptions */
44#  pragma warning( disable : 4702 ) /* unreachable code (appears in release with warning level4) */
45#else
46#  pragma warning( disable : 69 )   /* integer conversion resulted in truncation */
47#  pragma warning( disable : 174 )  /* expression has no effect */
48#  pragma warning( disable : 279 )  /* controling expression is constant */
49#  pragma warning( disable : 383 )  /* reference to temporary used */
50#  pragma warning( disable : 444 )  /* destructor for base class "..." is not virtual*/
51#  pragma warning( disable : 810 )  /* conversion from "int" to "char" may lose significant bits */
52#  pragma warning( disable : 981 )  /* operands are evaluated in unspecified order */
53#  pragma warning( disable : 1418 ) /* external definition with no prior declaration */
54#  pragma warning( disable : 1419 ) /* external declaration in primary source file */
55#  pragma warning( disable : 1572 ) /* floating-point equality and inequality comparisons are unreliable */
56#  pragma warning( disable : 1682 ) /* implicit conversion of a 64-bit integral type to a smaller integral type */
57#  pragma warning( disable : 1683 ) /* explicit conversion of a 64-bit integral type to a smaller integral type */
58#endif