~ubuntu-branches/ubuntu/utopic/psi/utopic

« back to all changes in this revision

Viewing changes to third-party/cppunit/cppunit/include/cppunit/config/config-msvc6.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2008-08-28 18:46:52 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080828184652-iiik12dl91nq7cdi
Tags: 0.12-2
Uploading to unstable (Closes: Bug#494352)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _INCLUDE_CPPUNIT_CONFIG_MSVC6_H
 
2
#define _INCLUDE_CPPUNIT_CONFIG_MSVC6_H 1
 
3
 
 
4
#if _MSC_VER > 1000     // VC++
 
5
#pragma warning( disable : 4786 )   // disable warning debug symbol > 255...
 
6
#endif // _MSC_VER > 1000
 
7
 
 
8
#define HAVE_CMATH 1
 
9
 
 
10
/* include/cppunit/config-msvc6.h. Manually adapted from 
 
11
   include/cppunit/config-auto.h */
 
12
 
 
13
/* define to 1 if the compiler implements namespaces */
 
14
#ifndef CPPUNIT_HAVE_NAMESPACES 
 
15
#define CPPUNIT_HAVE_NAMESPACES  1 
 
16
#endif
 
17
 
 
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
 
21
#endif
 
22
 
 
23
/* Define if you have the <dlfcn.h> header file. */
 
24
#ifdef CPPUNIT_HAVE_DLFCN_H 
 
25
#undef CPPUNIT_HAVE_DLFCN_H 
 
26
#endif
 
27
 
 
28
/* define to 1 if the compiler implements namespaces */
 
29
#ifndef CPPUNIT_HAVE_NAMESPACES 
 
30
#define CPPUNIT_HAVE_NAMESPACES  1 
 
31
#endif
 
32
 
 
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
 
37
# else
 
38
#  define CPPUNIT_HAVE_RTTI 0
 
39
# endif
 
40
#endif
 
41
 
 
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 
 
45
#endif
 
46
 
 
47
#define CPPUNIT_HAVE_SSTREAM 1
 
48
 
 
49
/* Name of package */
 
50
#ifndef CPPUNIT_PACKAGE 
 
51
#define CPPUNIT_PACKAGE  "cppunit" 
 
52
#endif
 
53
 
 
54
 
 
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 : "
 
60
#else
 
61
# define CPPUNIT_COMPILER_LOCATION_FORMAT "%p(%l):"
 
62
#endif
 
63
 
 
64
// Define to 1 if the compiler support C++ style cast.
 
65
#define CPPUNIT_HAVE_CPP_CAST 1
 
66
 
 
67
/* define to 1 if the compiler has _finite() */
 
68
#ifndef CPPUNIT_HAVE__FINITE
 
69
#define CPPUNIT_HAVE__FINITE 1 
 
70
#endif
 
71
 
 
72
 
 
73
// Uncomment to turn on STL wrapping => use this to test compilation. 
 
74
// This will make CppUnit subclass std::vector & co to provide default
 
75
// parameter.
 
76
/*#define CPPUNIT_STD_NEED_ALLOCATOR 1
 
77
#define CPPUNIT_STD_ALLOCATOR std::allocator<T>
 
78
//#define CPPUNIT_NO_NAMESPACE 1
 
79
*/
 
80
 
 
81
 
 
82
/* _INCLUDE_CPPUNIT_CONFIG_MSVC6_H */
 
83
#endif