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 "HName.h"
# include <iostream>
# include <string.h>
# include <stdlib.h>
# include <cstring>
# include <cstdlib>
# include <climits>
#ifdef HAVE_MALLOC_H
# include <malloc.h>
#endif
Expand Down
1 change: 1 addition & 0 deletions cprop.cc
Expand Up @@ -19,6 +19,7 @@

# include "config.h"

# include <cstdlib>
# include "netlist.h"
# include "netmisc.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 <typeinfo>
# include <cstdlib>
# include <cstring>
# include "compiler.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 "netmisc.h"
# include "compiler.h"
# include <cstdlib>
# include <iostream>
# 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 "compiler.h"

# include <cstdlib>
# include <cstring>
# include <iostream>
# 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 "netmisc.h"

# include <cstdlib>
# include <iostream>
# 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 "compiler.h"
# include "netmisc.h"
# include <cstring>
# include <iostream>
# include <stdio.h>

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

# include "config.h"

# include <cstdlib>
# include <iostream>

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

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

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 <cstring>
# include <iostream>

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

# include <iostream>
# include <cstdlib>

# include "netlist.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 <iostream>
# include <map>
# include <cstdlib>
# include <cstring>
# include <string>
# include <sys/types.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 <fstream>
# include <queue>
# include <cstring>
# include <list>
# include <map>
# include <unistd.h>
Expand Down
1 change: 1 addition & 0 deletions net_link.cc
Expand Up @@ -26,6 +26,7 @@

# include "netlist.h"
# include <sstream>
# include <cstring>
# include <string>
# include <typeinfo>
#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 "netlist.h"
# include <cstring>
# include <sstream>

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

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

# include "config.h"

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

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

# 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 "compiler.h"
# include <stdio.h>
# include <cstring>
# include <cstdlib>

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

# include <iostream>

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

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

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
# include <malloc.h>
#endif
# include <typeinfo>
# include <stdlib.h>
# include <limits.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 "statistics.h"
# include <stdio.h>
# include <cstring>
# include <cstdlib>
# include <iostream>
# include <typeinfo>
# include <limits.h>
Expand Down

0 comments on commit 8ea3b6b

Please sign in to comment.