Commit 507398bc authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

give room

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 2151
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent ff17abbd
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: error.cc,v 1.3 2006-07-07 09:20:43 tforb Exp $
* $Id: error.cc,v 1.4 2006-07-07 09:57:57 tforb Exp $
* \author Thomas Forbriger
* \date 30/03/2004
*
......@@ -36,7 +36,7 @@
#define DATREAD_ERROR_CC_VERSION \
"DATREAD_ERROR_CC V1.1"
#define DATREAD_ERROR_CC_CVSID \
"$Id: error.cc,v 1.3 2006-07-07 09:20:43 tforb Exp $"
"$Id: error.cc,v 1.4 2006-07-07 09:57:57 tforb Exp $"
#include <iostream>
#include <datreadxx/error.h>
......@@ -129,6 +129,7 @@ namespace datread {
const int& line,
const char* condition)
{
std::cerr << std::endl;
std::cerr << "VIOLATION of condition: " << condition << std::endl;
std::cerr << "* in " << file << " at line " << line << std::endl;
std::cerr << "* message: " << message << std::endl;
......
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: error.h,v 1.6 2006-07-07 09:20:43 tforb Exp $
* $Id: error.h,v 1.7 2006-07-07 09:57:57 tforb Exp $
* \author Thomas Forbriger
* \date 30/03/2004
*
......@@ -41,7 +41,7 @@
#define DATREAD_ERROR_H_VERSION \
"DATREAD_ERROR_H V1.2"
#define DATREAD_ERROR_H_CVSID \
"$Id: error.h,v 1.6 2006-07-07 09:20:43 tforb Exp $"
"$Id: error.h,v 1.7 2006-07-07 09:57:57 tforb Exp $"
namespace datread {
......@@ -168,6 +168,7 @@ namespace datread {
if (!(C)) { \
datread::report_violation(M, __FILE__, __LINE__, #C); \
std::cerr << "* comment: " << V << std::endl; \
std::cerr << std::endl; \
std::cerr.flush(); \
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment