diff options
| author | Steve Block <steveblock@google.com> | 2010-01-04 05:04:38 -0800 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-01-04 05:04:38 -0800 |
| commit | 1b31cd24c440319efcbfc1e523e2863e7d78c98c (patch) | |
| tree | 4d1cd81aa455d77f27b889dfbbc90b57b55afe0b /WebKit/android/stlport/stl/config/_warnings_off.h | |
| parent | 38b30bc07ccf69f1edf0f88a88be3f576aae2998 (diff) | |
| parent | 22234bcffc603f2c467c02028143ffcb4ffccc09 (diff) | |
| download | external_webkit-1b31cd24c440319efcbfc1e523e2863e7d78c98c.zip external_webkit-1b31cd24c440319efcbfc1e523e2863e7d78c98c.tar.gz external_webkit-1b31cd24c440319efcbfc1e523e2863e7d78c98c.tar.bz2 | |
Merge "Move STLPort to external/stlport."
Diffstat (limited to 'WebKit/android/stlport/stl/config/_warnings_off.h')
| -rw-r--r-- | WebKit/android/stlport/stl/config/_warnings_off.h | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/WebKit/android/stlport/stl/config/_warnings_off.h b/WebKit/android/stlport/stl/config/_warnings_off.h deleted file mode 100644 index 5618e6e..0000000 --- a/WebKit/android/stlport/stl/config/_warnings_off.h +++ /dev/null @@ -1,60 +0,0 @@ -/* This header turns off warnings that STLport headers generate for compiled - * user code. - */ - -#if defined (_STLP_MSVC) -# if (_STLP_MSVC > 1000) -# if defined (_STLP_USE_MSVC6_MEM_T_BUG_WORKAROUND) -/* - * 31/07/2004: dums - now that we do not export the basic_string class anymore but only a base class - * we have to disable this warning as the string are used as data members type of many iostream classes. - */ -# pragma warning ( disable : 4251 ) // ignore template classes being exported in .dll's -# endif - -# if (_STLP_MSVC < 1200) // VC5 and earlier -# pragma warning( disable : 4389 ) // '==' : signed/unsigned mismatch -// multiple copy constructors/assignment operators specified, -// with member templates are bogus... -# pragma warning( disable : 4521 ) -# pragma warning( disable : 4522 ) -# endif - -# if (_STLP_MSVC < 1300) // VC6, eVC3, eVC4 -# pragma warning( disable : 4097 ) // typedef-name used as based class of (...) -# pragma warning( disable : 4231 ) // non standard extension : 'extern' before template instanciation -# pragma warning( disable : 4244 ) // implicit conversion: possible loss of data -# pragma warning( disable : 4284 ) // for -> operator -//This warning is necessary because of the native platform headers: -# pragma warning( disable : 4290 ) // c++ exception specification ignored -# pragma warning( disable : 4514 ) // unreferenced inline function has been removed -# pragma warning( disable : 4660 ) // template-class specialization '...' is already instantiated -# pragma warning( disable : 4701 ) // local variable '...' may be used without having been initialized -# pragma warning( disable : 4710 ) // function (...) not inlined -# pragma warning( disable : 4786 ) // identifier truncated to 255 characters -# endif - -# if (_STLP_MSVC < 1400) -# pragma warning( disable : 4511 ) // copy constructor cannot be generated -# endif - -//Pool of common warnings for all MSVC supported versions: -//Many are only useful if warning level is set to 4. -# pragma warning( disable : 4100 ) // unreferenced formal parameter -# pragma warning( disable : 4127 ) // conditional expression is constant -# pragma warning( disable : 4146 ) // unary minus operator applied to unsigned type, result still unsigned -# pragma warning( disable : 4245 ) // conversion from 'enum ' to 'unsigned int', signed/unsigned mismatch -# pragma warning( disable : 4355 ) // this used in base member initializer list (used in rope implementation) -# pragma warning( disable : 4510 ) // default constructor cannot be generated -# pragma warning( disable : 4512 ) // assignment operator could not be generated -# pragma warning( disable : 4571 ) // catch(...) blocks compiled with /EHs do not catch or re-throw Structured Exceptions -# pragma warning( disable : 4610 ) // struct '...' can never be instantiated - user defined construtor required -# endif -#elif defined (__BORLANDC__) -# pragma option -w-ccc // -w-8008 Condition is always true OR Condition is always false -# pragma option -w-inl // -w-8027 Functions containing reserved words are not expanded inline -# pragma option -w-ngu // -w-8041 Negating unsigned value -# pragma option -w-pow // -w-8062 Previous options and warnings not restored -# pragma option -w-rch // -w-8066 Unreachable code -# pragma option -w-par // -w-8057 Parameter 'parameter' is never used -#endif |
