1// msvc.h --
2// $Id: msvc.h 1230 2007-03-09 15:58:53Z jcw $
3// This is part of Metakit, the homepage is http://www.equi4.com/metakit.html
4
5/** @file
6 * Configuration header for Microsoft Visual C++
7 */
8
9#define q4_MSVC 1
10
11// get rid of several common warning messages
12#if !q4_STRICT
13//#pragma warning(disable: 4244) // conversion ..., possible loss of data
14//#pragma warning(disable: 4135) // conversion between diff. integral types
15//#pragma warning(disable: 4511) // copy constructor could not be generated
16//#pragma warning(disable: 4512) // assignment op could not be generated
17//#pragma warning(disable: 4514) // unreferenced inline removed
18#pragma warning(disable: 4710) // function ... not inlined
19#pragma warning(disable: 4711) // ... selected for automatic inline expansion
20#pragma warning(disable: 4100) // unreferenced formal parameter
21#endif
22
23#if _MSC_VER >= 1100
24#define q4_BOOL 1     // 5.0 supports the bool datatype
25#else
26#define q4_NO_NS 1      // 4.x doesn't use namespaces for STL
27#endif
28
29#if defined (_MT)
30#define q4_MULTI 1      // uses multi-threading
31#endif
32
33#if defined (_DEBUG) && !defined (q4_CHECK) // use assertions in debug build
34#define q4_CHECK 1
35#endif
36
37#if !q4_STD && !q4_UNIV && !defined (q4_MFC)
38#define d4_FW_H "mfc.h"   // default for MSVC is to use MFC
39#endif
40