Skip to content

Commit

Permalink
header includes for gcc-4.3 compatibility
Browse files Browse the repository at this point in the history
minimal changes required to build without error
tested with gcc-4.3 (Debian 4.3-20071130-1) 4.3.0 20071130 (experimental)
  • Loading branch information
ldoolitt authored and steveicarus committed Jan 5, 2008
1 parent e6ea5cd commit 8ea3b6b
Show file tree
Hide file tree
Showing 28 changed files with 37 additions and 2 deletions.
5 changes: 3 additions & 2 deletions HName.cc
Expand Up @@ -23,8 +23,9 @@
# include "config.h" # include "config.h"
# include "HName.h" # include "HName.h"
# include <iostream> # include <iostream>
# include <string.h> # include <cstring>
# include <stdlib.h> # include <cstdlib>
# include <climits>
#ifdef HAVE_MALLOC_H #ifdef HAVE_MALLOC_H
# include <malloc.h> # include <malloc.h>
#endif #endif
Expand Down
1 change: 1 addition & 0 deletions cprop.cc
Expand Up @@ -19,6 +19,7 @@


# include "config.h" # include "config.h"


# include <cstdlib>
# include "netlist.h" # include "netlist.h"
# include "netmisc.h" # include "netmisc.h"
# include "functor.h" # include "functor.h"
Expand Down
3 changes: 3 additions & 0 deletions elab_expr.cc
Expand Up @@ -18,6 +18,9 @@
*/ */


# include "config.h" # include "config.h"
# include <typeinfo>
# include <cstdlib>
# include <cstring>
# include "compiler.h" # include "compiler.h"


# include "pform.h" # include "pform.h"
Expand Down
1 change: 1 addition & 0 deletions elab_lval.cc
Expand Up @@ -23,6 +23,7 @@
# include "netlist.h" # include "netlist.h"
# include "netmisc.h" # include "netmisc.h"
# include "compiler.h" # include "compiler.h"
# include <cstdlib>
# include <iostream> # include <iostream>
# include "ivl_assert.h" # include "ivl_assert.h"


Expand Down
2 changes: 2 additions & 0 deletions elab_net.cc
Expand Up @@ -24,6 +24,8 @@
# include "netmisc.h" # include "netmisc.h"
# include "compiler.h" # include "compiler.h"


# include <cstdlib>
# include <cstring>
# include <iostream> # include <iostream>
# include "ivl_assert.h" # include "ivl_assert.h"


Expand Down
1 change: 1 addition & 0 deletions elab_pexpr.cc
Expand Up @@ -24,6 +24,7 @@
# include "util.h" # include "util.h"
# include "netmisc.h" # include "netmisc.h"


# include <cstdlib>
# include <iostream> # include <iostream>
# include "ivl_assert.h" # include "ivl_assert.h"


Expand Down
1 change: 1 addition & 0 deletions elab_scope.cc
Expand Up @@ -20,6 +20,7 @@
# include "config.h" # include "config.h"
# include "compiler.h" # include "compiler.h"
# include "netmisc.h" # include "netmisc.h"
# include <cstring>
# include <iostream> # include <iostream>
# include <stdio.h> # include <stdio.h>


Expand Down
1 change: 1 addition & 0 deletions elab_sig.cc
Expand Up @@ -19,6 +19,7 @@


# include "config.h" # include "config.h"


# include <cstdlib>
# include <iostream> # include <iostream>


# include "Module.h" # include "Module.h"
Expand Down
1 change: 1 addition & 0 deletions elaborate.cc
Expand Up @@ -30,6 +30,7 @@
*/ */


# include <typeinfo> # include <typeinfo>
# include <cstdlib>
# include <sstream> # include <sstream>
# include <list> # include <list>
# include "pform.h" # include "pform.h"
Expand Down
1 change: 1 addition & 0 deletions emit.cc
Expand Up @@ -29,6 +29,7 @@
# include "netlist.h" # include "netlist.h"
# include <typeinfo> # include <typeinfo>
# include <cassert> # include <cassert>
# include <cstring>


bool NetNode::emit_node(struct target_t*tgt) const bool NetNode::emit_node(struct target_t*tgt) const
{ {
Expand Down
1 change: 1 addition & 0 deletions eval.cc
Expand Up @@ -19,6 +19,7 @@


# include "config.h" # include "config.h"


# include <cstring>
# include <iostream> # include <iostream>


# include "PExpr.h" # include "PExpr.h"
Expand Down
1 change: 1 addition & 0 deletions eval_tree.cc
Expand Up @@ -21,6 +21,7 @@
# include "compiler.h" # include "compiler.h"


# include <iostream> # include <iostream>
# include <cstdlib>


# include "netlist.h" # include "netlist.h"
# include "ivl_assert.h" # include "ivl_assert.h"
Expand Down
2 changes: 2 additions & 0 deletions load_module.cc
Expand Up @@ -26,6 +26,8 @@
# include "compiler.h" # include "compiler.h"
# include <iostream> # include <iostream>
# include <map> # include <map>
# include <cstdlib>
# include <cstring>
# include <string> # include <string>
# include <sys/types.h> # include <sys/types.h>
# include <dirent.h> # include <dirent.h>
Expand Down
1 change: 1 addition & 0 deletions main.cc
Expand Up @@ -44,6 +44,7 @@ const char NOTICE[] =
# include <iostream> # include <iostream>
# include <fstream> # include <fstream>
# include <queue> # include <queue>
# include <cstring>
# include <list> # include <list>
# include <map> # include <map>
# include <unistd.h> # include <unistd.h>
Expand Down
1 change: 1 addition & 0 deletions net_link.cc
Expand Up @@ -26,6 +26,7 @@


# include "netlist.h" # include "netlist.h"
# include <sstream> # include <sstream>
# include <cstring>
# include <string> # include <string>
# include <typeinfo> # include <typeinfo>
#ifdef HAVE_MALLOC_H #ifdef HAVE_MALLOC_H
Expand Down
1 change: 1 addition & 0 deletions net_scope.cc
Expand Up @@ -24,6 +24,7 @@
# include "compiler.h" # include "compiler.h"


# include "netlist.h" # include "netlist.h"
# include <cstring>
# include <sstream> # include <sstream>


/* /*
Expand Down
1 change: 1 addition & 0 deletions netlist.cc
Expand Up @@ -22,6 +22,7 @@
# include <iostream> # include <iostream>


# include <typeinfo> # include <typeinfo>
# include <cstdlib>
# include "compiler.h" # include "compiler.h"
# include "netlist.h" # include "netlist.h"
# include "netmisc.h" # include "netmisc.h"
Expand Down
1 change: 1 addition & 0 deletions netmisc.cc
Expand Up @@ -19,6 +19,7 @@


# include "config.h" # include "config.h"


# include <cstdlib>
# include "netlist.h" # include "netlist.h"
# include "netmisc.h" # include "netmisc.h"
# include "PExpr.h" # include "PExpr.h"
Expand Down
1 change: 1 addition & 0 deletions parse.y
Expand Up @@ -26,6 +26,7 @@
# include "pform.h" # include "pform.h"
# include "Statement.h" # include "Statement.h"
# include "PSpec.h" # include "PSpec.h"
# include <cstring>
# include <sstream> # include <sstream>


class PSpecPath; class PSpecPath;
Expand Down
2 changes: 2 additions & 0 deletions pform.cc
Expand Up @@ -33,6 +33,8 @@
# include <stack> # include <stack>
# include <typeinfo> # include <typeinfo>
# include <sstream> # include <sstream>
# include <cstring>
# include <cstdlib>


# include "ivl_assert.h" # include "ivl_assert.h"


Expand Down
2 changes: 2 additions & 0 deletions sys_funcs.cc
Expand Up @@ -23,6 +23,8 @@
# include "config.h" # include "config.h"
# include "compiler.h" # include "compiler.h"
# include <stdio.h> # include <stdio.h>
# include <cstring>
# include <cstdlib>


/* /*
* Manage the information about system functions. This information is * Manage the information about system functions. This information is
Expand Down
1 change: 1 addition & 0 deletions t-dll-expr.cc
Expand Up @@ -21,6 +21,7 @@


# include <iostream> # include <iostream>


# include <cstring>
# include "t-dll.h" # include "t-dll.h"
# include "netlist.h" # include "netlist.h"
# include <assert.h> # include <assert.h>
Expand Down
1 change: 1 addition & 0 deletions t-dll-proc.cc
Expand Up @@ -25,6 +25,7 @@


# include <iostream> # include <iostream>


# include <cstring>
# include "target.h" # include "target.h"
# include "ivl_target.h" # include "ivl_target.h"
# include "compiler.h" # include "compiler.h"
Expand Down
1 change: 1 addition & 0 deletions t-dll.cc
Expand Up @@ -21,6 +21,7 @@


# include <iostream> # include <iostream>


# include <cstring>
# include <stdio.h> // sprintf() # include <stdio.h> // sprintf()
# include "compiler.h" # include "compiler.h"
# include "t-dll.h" # include "t-dll.h"
Expand Down
1 change: 1 addition & 0 deletions verireal.cc
Expand Up @@ -29,6 +29,7 @@
# include <iostream> # include <iostream>
# include <math.h> # include <math.h>
# include <assert.h> # include <assert.h>
# include <cstring>


verireal::verireal() verireal::verireal()
{ {
Expand Down
1 change: 1 addition & 0 deletions vvp/delay.cc
Expand Up @@ -21,6 +21,7 @@
#include "schedule.h" #include "schedule.h"
#include "vpi_priv.h" #include "vpi_priv.h"
#include <iostream> #include <iostream>
#include <cstdlib>
#include <assert.h> #include <assert.h>


void vvp_delay_t::calculate_min_delay_() void vvp_delay_t::calculate_min_delay_()
Expand Down
1 change: 1 addition & 0 deletions vvp/vthread.cc
Expand Up @@ -30,6 +30,7 @@
#ifdef HAVE_MALLOC_H #ifdef HAVE_MALLOC_H
# include <malloc.h> # include <malloc.h>
#endif #endif
# include <typeinfo>
# include <stdlib.h> # include <stdlib.h>
# include <limits.h> # include <limits.h>
# include <string.h> # include <string.h>
Expand Down
2 changes: 2 additions & 0 deletions vvp/vvp_net.cc
Expand Up @@ -22,6 +22,8 @@
# include "schedule.h" # include "schedule.h"
# include "statistics.h" # include "statistics.h"
# include <stdio.h> # include <stdio.h>
# include <cstring>
# include <cstdlib>
# include <iostream> # include <iostream>
# include <typeinfo> # include <typeinfo>
# include <limits.h> # include <limits.h>
Expand Down

0 comments on commit 8ea3b6b

Please sign in to comment.