Permalink
Browse files

header includes for gcc-4.3 compatibility

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...
1 parent e6ea5cd commit 8ea3b6b0b8d77abd1da701dd0e08b128183f9c9e @ldoolitt ldoolitt committed with Jan 4, 2008
Showing with 37 additions and 2 deletions.
  1. +3 −2 HName.cc
  2. +1 −0 cprop.cc
  3. +3 −0 elab_expr.cc
  4. +1 −0 elab_lval.cc
  5. +2 −0 elab_net.cc
  6. +1 −0 elab_pexpr.cc
  7. +1 −0 elab_scope.cc
  8. +1 −0 elab_sig.cc
  9. +1 −0 elaborate.cc
  10. +1 −0 emit.cc
  11. +1 −0 eval.cc
  12. +1 −0 eval_tree.cc
  13. +2 −0 load_module.cc
  14. +1 −0 main.cc
  15. +1 −0 net_link.cc
  16. +1 −0 net_scope.cc
  17. +1 −0 netlist.cc
  18. +1 −0 netmisc.cc
  19. +1 −0 parse.y
  20. +2 −0 pform.cc
  21. +2 −0 sys_funcs.cc
  22. +1 −0 t-dll-expr.cc
  23. +1 −0 t-dll-proc.cc
  24. +1 −0 t-dll.cc
  25. +1 −0 verireal.cc
  26. +1 −0 vvp/delay.cc
  27. +1 −0 vvp/vthread.cc
  28. +2 −0 vvp/vvp_net.cc
View
@@ -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
View
@@ -19,6 +19,7 @@
# include "config.h"
+# include <cstdlib>
# include "netlist.h"
# include "netmisc.h"
# include "functor.h"
View
@@ -18,6 +18,9 @@
*/
# include "config.h"
+# include <typeinfo>
+# include <cstdlib>
+# include <cstring>
# include "compiler.h"
# include "pform.h"
View
@@ -23,6 +23,7 @@
# include "netlist.h"
# include "netmisc.h"
# include "compiler.h"
+# include <cstdlib>
# include <iostream>
# include "ivl_assert.h"
View
@@ -24,6 +24,8 @@
# include "netmisc.h"
# include "compiler.h"
+# include <cstdlib>
+# include <cstring>
# include <iostream>
# include "ivl_assert.h"
View
@@ -24,6 +24,7 @@
# include "util.h"
# include "netmisc.h"
+# include <cstdlib>
# include <iostream>
# include "ivl_assert.h"
View
@@ -20,6 +20,7 @@
# include "config.h"
# include "compiler.h"
# include "netmisc.h"
+# include <cstring>
# include <iostream>
# include <stdio.h>
View
@@ -19,6 +19,7 @@
# include "config.h"
+# include <cstdlib>
# include <iostream>
# include "Module.h"
View
@@ -30,6 +30,7 @@
*/
# include <typeinfo>
+# include <cstdlib>
# include <sstream>
# include <list>
# include "pform.h"
View
@@ -29,6 +29,7 @@
# include "netlist.h"
# include <typeinfo>
# include <cassert>
+# include <cstring>
bool NetNode::emit_node(struct target_t*tgt) const
{
View
@@ -19,6 +19,7 @@
# include "config.h"
+# include <cstring>
# include <iostream>
# include "PExpr.h"
View
@@ -21,6 +21,7 @@
# include "compiler.h"
# include <iostream>
+# include <cstdlib>
# include "netlist.h"
# include "ivl_assert.h"
View
@@ -26,6 +26,8 @@
# include "compiler.h"
# include <iostream>
# include <map>
+# include <cstdlib>
+# include <cstring>
# include <string>
# include <sys/types.h>
# include <dirent.h>
View
@@ -44,6 +44,7 @@ const char NOTICE[] =
# include <iostream>
# include <fstream>
# include <queue>
+# include <cstring>
# include <list>
# include <map>
# include <unistd.h>
View
@@ -26,6 +26,7 @@
# include "netlist.h"
# include <sstream>
+# include <cstring>
# include <string>
# include <typeinfo>
#ifdef HAVE_MALLOC_H
View
@@ -24,6 +24,7 @@
# include "compiler.h"
# include "netlist.h"
+# include <cstring>
# include <sstream>
/*
View
@@ -22,6 +22,7 @@
# include <iostream>
# include <typeinfo>
+# include <cstdlib>
# include "compiler.h"
# include "netlist.h"
# include "netmisc.h"
View
@@ -19,6 +19,7 @@
# include "config.h"
+# include <cstdlib>
# include "netlist.h"
# include "netmisc.h"
# include "PExpr.h"
View
@@ -26,6 +26,7 @@
# include "pform.h"
# include "Statement.h"
# include "PSpec.h"
+# include <cstring>
# include <sstream>
class PSpecPath;
View
@@ -33,6 +33,8 @@
# include <stack>
# include <typeinfo>
# include <sstream>
+# include <cstring>
+# include <cstdlib>
# include "ivl_assert.h"
View
@@ -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
View
@@ -21,6 +21,7 @@
# include <iostream>
+# include <cstring>
# include "t-dll.h"
# include "netlist.h"
# include <assert.h>
View
@@ -25,6 +25,7 @@
# include <iostream>
+# include <cstring>
# include "target.h"
# include "ivl_target.h"
# include "compiler.h"
View
@@ -21,6 +21,7 @@
# include <iostream>
+# include <cstring>
# include <stdio.h> // sprintf()
# include "compiler.h"
# include "t-dll.h"
View
@@ -29,6 +29,7 @@
# include <iostream>
# include <math.h>
# include <assert.h>
+# include <cstring>
verireal::verireal()
{
View
@@ -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_()
View
@@ -30,6 +30,7 @@
#ifdef HAVE_MALLOC_H
# include <malloc.h>
#endif
+# include <typeinfo>
# include <stdlib.h>
# include <limits.h>
# include <string.h>
View
@@ -22,6 +22,8 @@
# include "schedule.h"
# include "statistics.h"
# include <stdio.h>
+# include <cstring>
+# include <cstdlib>
# include <iostream>
# include <typeinfo>
# include <limits.h>

0 comments on commit 8ea3b6b

Please sign in to comment.