Fix reported build errors with gcc 4.3
Add missing includes to cstring et al.
This commit is contained in:
parent
4d3f592b5f
commit
d49e44594b
|
|
@ -28,6 +28,7 @@
|
|||
# include "compiler.h"
|
||||
|
||||
# include <iostream>
|
||||
# include <cstring>
|
||||
|
||||
/*
|
||||
* This is a state flag that determines whether an elaborate_net must
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
# include "compiler.h"
|
||||
# include <iostream>
|
||||
# include <stdio.h>
|
||||
# include <cstring>
|
||||
|
||||
/*
|
||||
* Elaboration happens in two passes, generally. The first scans the
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
# include "config.h"
|
||||
|
||||
# include <iostream>
|
||||
# include <cstdlib>
|
||||
|
||||
# include "Module.h"
|
||||
# include "PExpr.h"
|
||||
|
|
|
|||
1
emit.cc
1
emit.cc
|
|
@ -32,6 +32,7 @@
|
|||
# include "netlist.h"
|
||||
# include <typeinfo>
|
||||
# include <cassert>
|
||||
# include <cstring>
|
||||
|
||||
bool NetNode::emit_node(struct target_t*tgt) const
|
||||
{
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@
|
|||
# include <dirent.h>
|
||||
# include <ctype.h>
|
||||
# include <assert.h>
|
||||
# include <cstdlib>
|
||||
# include <cstring>
|
||||
|
||||
/*
|
||||
* The module library items are maps of key names to file name within
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
# include "util.h"
|
||||
# include "compiler.h"
|
||||
# include <sstream>
|
||||
# include <cstring>
|
||||
|
||||
Design:: Design()
|
||||
: errors(0), nodes_(0), procs_(0), lcounter_(0)
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
# include "netlist.h"
|
||||
# include <sstream>
|
||||
# include <string>
|
||||
# include <cstring>
|
||||
# include <typeinfo>
|
||||
#ifdef HAVE_MALLOC_H
|
||||
# include <malloc.h>
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
# include "netlist.h"
|
||||
# include <sstream>
|
||||
# include <cstring>
|
||||
|
||||
/*
|
||||
* The NetScope class keeps a scope tree organized. Each node of the
|
||||
|
|
|
|||
2
pform.h
2
pform.h
|
|
@ -37,6 +37,8 @@
|
|||
# include <string>
|
||||
# include <list>
|
||||
# include <stdio.h>
|
||||
# include <cstring>
|
||||
# include <cstdlib>
|
||||
|
||||
/*
|
||||
* These classes implement the parsed form (P-form for short) of the
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
#include <cassert>
|
||||
#include "NetLatch.h"
|
||||
#include <climits>
|
||||
#include <cstdlib>
|
||||
|
||||
#include <new> // standard operator new
|
||||
using std::bad_alloc;
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@
|
|||
# include "config.h"
|
||||
# include "compiler.h"
|
||||
# include <stdio.h>
|
||||
# include <cstdlib>
|
||||
# include <cstring>
|
||||
|
||||
/*
|
||||
* Manage the information about system functions. This information is
|
||||
|
|
|
|||
|
|
@ -30,7 +30,8 @@
|
|||
#ifdef HAVE_MALLOC_H
|
||||
# include <malloc.h>
|
||||
#endif
|
||||
# include <stdlib.h>
|
||||
# include <cstdlib>
|
||||
# include <cstring>
|
||||
|
||||
/*
|
||||
* This is a little convenience function for converting a NetExpr
|
||||
|
|
|
|||
|
|
@ -32,7 +32,8 @@
|
|||
#ifdef HAVE_MALLOC_H
|
||||
# include <malloc.h>
|
||||
#endif
|
||||
# include <stdlib.h>
|
||||
# include <cstdlib>
|
||||
# include <cstring>
|
||||
|
||||
|
||||
bool dll_target::process(const NetProcTop*net)
|
||||
|
|
|
|||
3
t-dll.cc
3
t-dll.cc
|
|
@ -31,7 +31,8 @@
|
|||
#ifdef HAVE_MALLOC_H
|
||||
# include <malloc.h>
|
||||
#endif
|
||||
# include <stdlib.h>
|
||||
# include <cstdlib>
|
||||
# include <cstring>
|
||||
|
||||
#include <new> // standard operator new
|
||||
using std::bad_alloc;
|
||||
|
|
|
|||
|
|
@ -24,7 +24,8 @@
|
|||
|
||||
# include "verireal.h"
|
||||
# include "verinum.h"
|
||||
# include <stdlib.h>
|
||||
# include <cstdlib>
|
||||
# include <cstring>
|
||||
# include <ctype.h>
|
||||
# include <iostream>
|
||||
# include <math.h>
|
||||
|
|
|
|||
Loading…
Reference in New Issue