Changeset 8 for branches/with_autoconf/src/sc_object.cc
- Timestamp:
- Jun 25, 2008, 1:08:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/with_autoconf/src/sc_object.cc
r1 r8 39 39 #include <map> 40 40 41 #include "assert.h"41 #include <cassert> 42 42 #include "sc_object.h" 43 43 //#include "sc_port.h" … … 45 45 #include "sc_signal.h" 46 46 #include "module_hierarchy.h" 47 #ifdef HAVE_CONFIG_H 48 #include "config.h" 49 #endif 47 50 48 51 using namespace std; … … 70 73 // out += "."; 71 74 } 72 // ASSERT(name != NULL);75 // assert(name != NULL); 73 76 if (name) 74 77 out += name; … … 202 205 { 203 206 object2name_t::iterator i = object2fullname.find (this); 204 #ifdef DEBUG207 #ifdef CONFIG_DEBUG 205 208 if (i == object2fullname.end ()) { 206 209 cerr << "Internal error : can't find name of " << this << "\n"; … … 216 219 /* 217 220 object2name_t::iterator i = object2fullname.find (this); 218 #ifdef DEBUG221 #ifdef CONFIG_DEBUG 219 222 if (i == object2fullname.end ()) { 220 223 cerr << "Internal error : can't find name of " << this << "\n"; … … 234 237 string out; 235 238 sc_object* obj = *it; 236 ASSERT(obj != NULL);239 assert(obj != NULL); 237 240 build_full_name (out, *obj); 238 241 } … … 242 245 { 243 246 object2infos_t::iterator i = object2infos.find (this); 244 #ifdef DEBUG247 #ifdef CONFIG_DEBUG 245 248 if (i == object2infos.end ()) { 246 249 cerr << "Internal error : can't find kind of " << this << "\n";
Note: See TracChangeset
for help on using the changeset viewer.