//---------------------------- reference.cc ---------------------------
-// $Id$
-// Version: $Name$
+// reference.cc,v 1.19 2003/05/05 13:49:06 wolf Exp
+// Version:
//
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 by the deal.II authors
//
// std::cerr, since it tries to do
// something with its buffer, but
// that is already gone by then
+#if __GNUC__ != 2
std::basic_streambuf<char> *old_cerr_buf = std::cerr.rdbuf();
+#else
+ streambuf *old_cerr_buf = std::cerr.rdbuf();
+#endif
std::cerr.rdbuf(logfile.rdbuf());
Test a("A");
//--------------------------------------------------------------------
-// $Id$
-// Version: $Name$
+// block_vector.cc,v 1.14 2003/05/05 13:49:06 wolf Exp
+// Version:
//
// Copyright (C) 2000, 2001, 2002, 2003 by the deal.II authors
//
// do the same weird stuff as in
// tests/base/reference.cc
+#if __GNUC__ != 2
std::basic_streambuf<char> *old_cerr_buf = std::cerr.rdbuf();
+#else
+ streambuf *old_cerr_buf = std::cerr.rdbuf();
+#endif
std::cerr.rdbuf(logfile.rdbuf());
try
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams