Ignore:
Timestamp:
Jun 25, 2008, 1:08:04 PM (16 years ago)
Author:
nipo
Message:

Checkin autotools magic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/with_autoconf/src/sc_object.cc

    r1 r8  
    3939#include <map>
    4040
    41 #include "assert.h"
     41#include <cassert>
    4242#include "sc_object.h"
    4343//#include "sc_port.h"
     
    4545#include "sc_signal.h"
    4646#include "module_hierarchy.h"
     47#ifdef HAVE_CONFIG_H
     48#include "config.h"
     49#endif
    4750
    4851using namespace std;
     
    7073//    out += ".";
    7174  }
    72 //  ASSERT(name != NULL);
     75//  assert(name != NULL);
    7376  if (name)
    7477    out += name;
     
    202205{
    203206        object2name_t::iterator i = object2fullname.find (this);
    204 #ifdef DEBUG
     207#ifdef CONFIG_DEBUG
    205208        if (i == object2fullname.end ()) {
    206209                cerr << "Internal error : can't find name of " << this << "\n";
     
    216219/*
    217220        object2name_t::iterator i = object2fullname.find (this);
    218 #ifdef DEBUG
     221#ifdef CONFIG_DEBUG
    219222        if (i == object2fullname.end ()) {
    220223                cerr << "Internal error : can't find name of " << this << "\n";
     
    234237    string     out;
    235238    sc_object* obj = *it;
    236     ASSERT(obj != NULL);
     239    assert(obj != NULL);
    237240    build_full_name (out, *obj);
    238241  }
     
    242245{
    243246        object2infos_t::iterator i = object2infos.find (this);
    244 #ifdef DEBUG
     247#ifdef CONFIG_DEBUG
    245248        if (i == object2infos.end ()) {
    246249                cerr << "Internal error : can't find kind of " << this << "\n";
Note: See TracChangeset for help on using the changeset viewer.