]> www.ginac.de Git - ginac.git/blobdiff - ginac/debugmsg.h
* Cint fix. It looks like the hacks are going to go away really soon,
[ginac.git] / ginac / debugmsg.h
index 24d0f7e90a06153f582b38a4310d994a608a7c4d..08457b5a91d6d5333ebb476732178e1b43e333f3 100644 (file)
@@ -3,7 +3,7 @@
  *  Utilities needed for debugging only. */
 
 /*
- *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -27,7 +27,7 @@
 
 #ifdef _DEBUG
 #define VERBOSE
-#define DOASSERT (VERBOSE||DEBUG)
+#define DO_GINAC_ASSERT (VERBOSE||DEBUG)
 #endif
 
 #define LOGLEVEL_CONSTRUCT          0x0001
@@ -44,7 +44,7 @@
 // #define LOGMASK (LOGLEVEL_PRINT | LOGLEVEL_ASSIGNMENT | LOGLEVEL_OPERATOR | LOGLEVEL_DUPLICATE | LOGLEVEL_OPERATOR | LOGLEVEL_MEMBER_FUNCTION | LOGLEVEL_NONMEMBER_FUNCTION)
 
 #ifdef VERBOSE
-#define debugmsg(msg, loglevel) if ((loglevel) & ~LOGMASK) clog << (msg) << endl;
+#define debugmsg(msg, loglevel) if ((loglevel) & ~LOGMASK) std::clog << (msg) << std::endl;
 #else
 #define debugmsg(msg, loglevel)
 #endif // def VERBOSE