summaryrefslogtreecommitdiff
path: root/include/cppunit
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2003-05-15 05:31:52 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2003-05-15 05:31:52 +0000
commit341d0a8b1b645d4d125bedb11c4514fdbaf504ca (patch)
treeb4925bb6d092a7cae8a033b4aa1751c74aea59ea /include/cppunit
parent5ed43360c17c34b37e6f40cba39d8ce9e6d76e22 (diff)
downloadcppunit-341d0a8b1b645d4d125bedb11c4514fdbaf504ca.tar.gz
include/cppunit/config/config-msvc6.h: changed the compiler outputter
default format (CPPUNIT_COMPILER_LOCATION_FORMAT) for Visual Studio 7.0. Assertion now appears in the task list.
Diffstat (limited to 'include/cppunit')
-rw-r--r--include/cppunit/config/config-msvc6.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/cppunit/config/config-msvc6.h b/include/cppunit/config/config-msvc6.h
index da540cc..51df8af 100644
--- a/include/cppunit/config/config-msvc6.h
+++ b/include/cppunit/config/config-msvc6.h
@@ -51,7 +51,11 @@
// Compiler error location format for CompilerOutputter
// See class CompilerOutputter for format.
#undef CPPUNIT_COMPILER_LOCATION_FORMAT
-#define CPPUNIT_COMPILER_LOCATION_FORMAT "%p(%l):"
+#if _MSC_VER >= 1300 // VS 7.0
+# define CPPUNIT_COMPILER_LOCATION_FORMAT "%p(%l) : error : "
+#else
+# define CPPUNIT_COMPILER_LOCATION_FORMAT "%p(%l):"
+#endif
// Uncomment to turn on STL wrapping => use this to test compilation.
// This will make CppUnit subclass std::vector & co to provide default