• R/O
  • SSH
  • HTTPS

ported4hdl: 提交


Commit MetaInfo

修訂16 (tree)
時間2010-06-27 21:26:09
作者molelord

Log Message

gccのバージョンを上げたことによりコンパイルに失敗するソースが出てきたので対策した。

Change Summary

差異

--- trunk/build_icarus/iverilog-20090923.patch (revision 15)
+++ trunk/build_icarus/iverilog-20090923.patch (revision 16)
@@ -31,3 +31,37 @@
3131 uninstall:
3232 - rm -f $(bindir)/iverilog-vpi$(suffix)@EXEEXT@
3333 + rm -f $(DESTDIR)$(bindir)/iverilog-vpi$(suffix)@EXEEXT@
34+diff -u -r a/pform_disciplines.cc b/pform_disciplines.cc
35+--- a/pform_disciplines.cc 2009-09-24 08:51:00 +0900
36++++ b/pform_disciplines.cc 2010-06-08 08:44:38 +0900
37+@@ -27,8 +27,8 @@
38+ map<perm_string,ivl_discipline_t> disciplines;
39+ map<perm_string,ivl_nature_t> access_function_nature;
40+
41+-static perm_string nature_name = perm_string::perm_string();
42+-static perm_string nature_access = perm_string::perm_string();
43++static perm_string nature_name;
44++static perm_string nature_access;
45+
46+ void pform_start_nature(const char*name)
47+ {
48+@@ -82,8 +82,8 @@
49+ // expressions that use the access function can find it.
50+ access_function_nature[nature_access] = tmp;
51+
52+- nature_name = perm_string::perm_string();
53+- nature_access = perm_string::perm_string();
54++ nature_name = perm_string::literal(0);
55++ nature_access = perm_string::literal(0);
56+ }
57+
58+
59+@@ -171,7 +171,7 @@
60+ FILE_NAME(tmp, loc);
61+
62+ /* Clear the static variables for the next item. */
63+- discipline_name = perm_string::perm_string();
64++ discipline_name = perm_string::literal(0);
65+ discipline_domain = IVL_DIS_NONE;
66+ discipline_potential = 0;
67+ discipline_flow = 0;
Show on old repository browser