ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

_warnings_off.h
Go to the documentation of this file.
00001 /* This header turns off warnings that STLport headers generate for compiled
00002  * user code.
00003  */
00004 
00005 #if defined (_STLP_MSVC)
00006 #  if defined (_STLP_USE_MSVC6_MEM_T_BUG_WORKAROUND) || \
00007       defined (_STLP_SIGNAL_RUNTIME_COMPATIBILITY) || defined (_STLP_CHECK_RUNTIME_COMPATIBILITY)
00008 /*
00009  * 31/07/2004: dums - now that we do not export the basic_string class anymore but only a base class
00010  * we have to disable this warning as the string are used as data members type of many iostream classes.
00011  */
00012 #    pragma warning ( disable : 4251 )  // ignore template classes being exported in .dll's
00013 #  endif
00014 
00015 #  if (_STLP_MSVC < 1300) // VC6, eVC3, eVC4
00016 #    pragma warning( disable : 4097 ) // typedef-name used as based class of (...)
00017 #    pragma warning( disable : 4231 ) // non standard extension : 'extern' before template instanciation
00018 #    pragma warning( disable : 4244 ) // implicit conversion: possible loss of data
00019 #    pragma warning( disable : 4284 ) // for -> operator
00020 //This warning is necessary because of the native platform headers:
00021 #    pragma warning( disable : 4290 ) // c++ exception specification ignored
00022 #    pragma warning( disable : 4514 ) // unreferenced inline function has been removed
00023 #    pragma warning( disable : 4660 ) // template-class specialization '...' is already instantiated
00024 #    pragma warning( disable : 4701 ) // local variable '...' may be used without having been initialized
00025 #    pragma warning( disable : 4710 ) // function (...) not inlined
00026 #    pragma warning( disable : 4786 ) // identifier truncated to 255 characters
00027 #  endif
00028 
00029 #  if (_STLP_MSVC < 1400)
00030 #    pragma warning( disable : 4511 ) // copy constructor cannot be generated
00031 #  endif
00032 
00033 //Pool of common warnings for all MSVC supported versions:
00034 //Many are only useful if warning level is set to 4.
00035 #  pragma warning( disable : 4100 ) // unreferenced formal parameter
00036 #  pragma warning( disable : 4127 ) // conditional expression is constant
00037 #  pragma warning( disable : 4146 ) // unary minus operator applied to unsigned type, result still unsigned
00038 #  pragma warning( disable : 4245 ) // conversion from 'enum ' to 'unsigned int', signed/unsigned mismatch
00039 #  pragma warning( disable : 4355 ) // this used in base member initializer list (used in rope implementation)
00040 #  pragma warning( disable : 4510 ) // default constructor cannot be generated
00041 #  pragma warning( disable : 4512 ) // assignment operator could not be generated
00042 #  pragma warning( disable : 4571 ) // catch(...) blocks compiled with /EHs do not catch or re-throw Structured Exceptions
00043 #  pragma warning( disable : 4610 ) // struct '...' can never be instantiated - user defined construtor required
00044 #elif defined (__BORLANDC__)
00045 #  pragma option -w-ccc // -w-8008 Condition is always true OR Condition is always false
00046 #  pragma option -w-inl // -w-8027 Functions containing reserved words are not expanded inline
00047 #  pragma option -w-ngu // -w-8041 Negating unsigned value
00048 #  pragma option -w-pow // -w-8062 Previous options and warnings not restored
00049 #  pragma option -w-rch // -w-8066 Unreachable code
00050 #  pragma option -w-par // -w-8057 Parameter 'parameter' is never used
00051 #endif

Generated on Fri May 25 2012 04:28:20 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.