Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

msvc.h

Go to the documentation of this file.
00001 // msvc.h --
00002 // $Id: msvc.h,v 1.7 2003/11/23 01:42:51 wcvs Exp $
00003 // This is part of Metakit, the homepage is https://www.equi4.com/metakit/
00004 
00009 #define q4_MSVC 1
00010 
00011   // get rid of several common warning messages
00012 #if !q4_STRICT
00013 //#pragma warning(disable: 4244) // conversion ..., possible loss of data
00014 //#pragma warning(disable: 4135) // conversion between diff. integral types
00015 //#pragma warning(disable: 4511) // copy constructor could not be generated
00016 //#pragma warning(disable: 4512) // assignment op could not be generated
00017 //#pragma warning(disable: 4514) // unreferenced inline removed
00018 #pragma warning(disable: 4710) // function ... not inlined
00019 #pragma warning(disable: 4711) // ... selected for automatic inline expansion
00020 #pragma warning(disable: 4100) // unreferenced formal parameter
00021 #endif
00022 
00023 #if _MSC_VER >= 1100
00024 #define q4_BOOL 1     // 5.0 supports the bool datatype
00025 #else
00026 #define q4_NO_NS 1      // 4.x doesn't use namespaces for STL
00027 #endif
00028 
00029 #if defined (_MT)
00030 #define q4_MULTI 1      // uses multi-threading
00031 #endif
00032 
00033 #if defined (_DEBUG) && !defined (q4_CHECK) // use assertions in debug build
00034 #define q4_CHECK 1
00035 #endif
00036 
00037 #if !q4_STD && !q4_UNIV && !defined (q4_MFC)
00038 #define d4_FW_H "mfc.h"   // default for MSVC is to use MFC
00039 #endif


Metakit C++ API Reference - https://www.equi4.com/metakit.html - extracted with Doxygen