1 #ifndef _INCLUDE_CPPUNIT_CONFIG_MSVC6_H
2 #define _INCLUDE_CPPUNIT_CONFIG_MSVC6_H 1
4 #if _MSC_VER > 1000 // VC++
5 #pragma warning( disable : 4786 ) // disable warning debug symbol > 255...
6 #endif // _MSC_VER > 1000
10 /* include/cppunit/config-msvc6.h. Manually adapted from
11 include/cppunit/config-auto.h */
13 /* define to 1 if the compiler implements namespaces */
14 #ifndef CPPUNIT_HAVE_NAMESPACES
15 #define CPPUNIT_HAVE_NAMESPACES 1
18 /* define if library uses std::string::compare(string,pos,n) */
19 #ifdef CPPUNIT_FUNC_STRING_COMPARE_STRING_FIRST
20 #undef CPPUNIT_FUNC_STRING_COMPARE_STRING_FIRST
23 /* Define if you have the <dlfcn.h> header file. */
24 #ifdef CPPUNIT_HAVE_DLFCN_H
25 #undef CPPUNIT_HAVE_DLFCN_H
28 /* define to 1 if the compiler implements namespaces */
29 #ifndef CPPUNIT_HAVE_NAMESPACES
30 #define CPPUNIT_HAVE_NAMESPACES 1
33 /* define if the compiler supports Run-Time Type Identification */
34 #ifndef CPPUNIT_HAVE_RTTI
35 # ifdef _CPPRTTI // Defined by the compiler option /GR
36 # define CPPUNIT_HAVE_RTTI 1
38 # define CPPUNIT_HAVE_RTTI 0
42 /* Define to 1 to use type_info::name() for class names */
43 #ifndef CPPUNIT_USE_TYPEINFO_NAME
44 #define CPPUNIT_USE_TYPEINFO_NAME CPPUNIT_HAVE_RTTI
47 #define CPPUNIT_HAVE_SSTREAM 1
50 #ifndef CPPUNIT_PACKAGE
51 #define CPPUNIT_PACKAGE "cppunit"
55 // Compiler error location format for CompilerOutputter
56 // See class CompilerOutputter for format.
57 #undef CPPUNIT_COMPILER_LOCATION_FORMAT
58 #if _MSC_VER >= 1300 // VS 7.0
59 # define CPPUNIT_COMPILER_LOCATION_FORMAT "%p(%l) : error : "
61 # define CPPUNIT_COMPILER_LOCATION_FORMAT "%p(%l):"
64 // Define to 1 if the compiler support C++ style cast.
65 #define CPPUNIT_HAVE_CPP_CAST 1
67 /* define to 1 if the compiler has _finite() */
68 #ifndef CPPUNIT_HAVE__FINITE
69 #define CPPUNIT_HAVE__FINITE 1
73 // Uncomment to turn on STL wrapping => use this to test compilation.
74 // This will make CppUnit subclass std::vector & co to provide default
76 /*#define CPPUNIT_STD_NEED_ALLOCATOR 1
77 #define CPPUNIT_STD_ALLOCATOR std::allocator<T>
78 //#define CPPUNIT_NO_NAMESPACE 1
81 #if _MSC_VER >= 1300 // VS 7.0
82 #define CPPUNIT_UNIQUE_COUNTER __COUNTER__
83 #endif // if _MSC_VER >= 1300 // VS 7.0
85 /* _INCLUDE_CPPUNIT_CONFIG_MSVC6_H */