janwas
ba2a9d7af3
- split precompiled.h into several headers (simplifies reuse) - enable additional warnings not in W4 - split ErrorReaction into ErrorReactionInternal - clarifies which values can actually be returned by debug_DisplayError - wsdl: slightly safer HDC usage via CS_OWNDC, avoid dipping into DC cache via ValidateRect instead of BeginPaint; remove unused thread create - StdDeserializer - wasn't including byte_order => BYTE_ORDER was undefined - wsysdep: clean up error dialog message handling This was SVN commit r8828.
49 lines
2.5 KiB
C
49 lines
2.5 KiB
C
/* Copyright (c) 2010 Wildfire Games
|
|
*
|
|
* Permission is hereby granted, free of charge, to any person obtaining
|
|
* a copy of this software and associated documentation files (the
|
|
* "Software"), to deal in the Software without restriction, including
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
* permit persons to whom the Software is furnished to do so, subject to
|
|
* the following conditions:
|
|
*
|
|
* The above copyright notice and this permission notice shall be included
|
|
* in all copies or substantial portions of the Software.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
*/
|
|
|
|
// rationale: boost is only included from the PCH, but warnings are still
|
|
// raised when templates are instantiated (e.g. vfs_lookup.cpp),
|
|
// so include this header from such source files as well.
|
|
|
|
#include "lib/sysdep/compiler.h" // ICC_VERSION
|
|
#include "lib/sysdep/arch.h" // ARCH_IA32
|
|
|
|
#if MSC_VERSION
|
|
# pragma warning(disable:4710) // function not inlined
|
|
#endif
|
|
#if ICC_VERSION
|
|
# pragma warning(push)
|
|
# pragma warning(disable:82) // storage class is not first
|
|
# pragma warning(disable:193) // zero used for undefined preprocessing identifier
|
|
# pragma warning(disable:304) // access control not specified
|
|
# pragma warning(disable:367) // duplicate friend declaration
|
|
# pragma warning(disable:444) // destructor for base class is not virtual
|
|
# pragma warning(disable:522) // function redeclared inline after being called
|
|
# pragma warning(disable:811) // exception specification for implicitly declared virtual function is incompatible with that of overridden function
|
|
# pragma warning(disable:1879) // unimplemented pragma ignored
|
|
# pragma warning(disable:2270) // the declaration of the copy assignment operator has been suppressed
|
|
# pragma warning(disable:2273) // the declaration of the copy constructor has been suppressed
|
|
# if ARCH_IA32
|
|
# pragma warning(disable:693) // calling convention specified here is ignored
|
|
# endif
|
|
#endif
|