Changeset 11 for sources


Ignore:
Timestamp:
Jan 21, 2009, 7:53:09 PM (15 years ago)
Author:
nipo
Message:

More header correctness

Location:
sources/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sources/src/internal.h

    r1 r11  
    1515#include "internal_ext.h"
    1616#include <map>
     17#include <string>
    1718
    1819namespace sc_core {
  • sources/src/sc_uint.h

    r1 r11  
    1818#include <sc_logic.h>
    1919#include <sc_bv.h>
     20#include <cstdlib>
    2021
    2122// ----------------------------------------------------------------------------
     
    126127  sc_uint ()                { val = 0; }
    127128//  sc_uint (data_type val_)  { val = 0; write (val_); }
    128   sc_uint (const char *a)   { val = 0; write (atoi (a)); }
     129  sc_uint (const char *a)   { val = 0; write (std::atoi (a)); }
    129130  sc_uint (unsigned short a){ val = 0; write (a); }
    130131  sc_uint (short a)         { val = 0; write (a); }
Note: See TracChangeset for help on using the changeset viewer.