1 #ifndef _INCLUDE_CPPUNIT_CONFIG_EVC4_H
2 #define _INCLUDE_CPPUNIT_CONFIG_EVC4_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 #define CPPUNIT_HAVE_RTTI 0
38 /* Define to 1 to use type_info::name() for class names */
39 #ifndef CPPUNIT_USE_TYPEINFO_NAME
40 #define CPPUNIT_USE_TYPEINFO_NAME CPPUNIT_HAVE_RTTI
43 #define CPPUNIT_NO_STREAM 1
44 #define CPPUNIT_NO_ASSERT 1
46 #define CPPUNIT_HAVE_SSTREAM 0
49 #ifndef CPPUNIT_PACKAGE
50 #define CPPUNIT_PACKAGE "cppunit"
54 // Compiler error location format for CompilerOutputter
55 // See class CompilerOutputter for format.
56 #undef CPPUNIT_COMPILER_LOCATION_FORMAT
57 #if _MSC_VER >= 1300 // VS 7.0
58 # define CPPUNIT_COMPILER_LOCATION_FORMAT "%p(%l) : error : "
60 # define CPPUNIT_COMPILER_LOCATION_FORMAT "%p(%l):"
63 /* define to 1 if the compiler has _finite() */
64 #ifndef CPPUNIT_HAVE__FINITE
65 #define CPPUNIT_HAVE__FINITE 1
68 // Uncomment to turn on STL wrapping => use this to test compilation.
69 // This will make CppUnit subclass std::vector & co to provide default
71 /*#define CPPUNIT_STD_NEED_ALLOCATOR 1
72 #define CPPUNIT_STD_ALLOCATOR std::allocator<T>
73 //#define CPPUNIT_NO_NAMESPACE 1
77 /* _INCLUDE_CPPUNIT_CONFIG_EVC4_H */