misc: fix a compile error due to incompability with SystemC 2.3.1
Review Request #3473 - Created May 19, 2016 and submitted
| Information | |
|---|---|
| Christian Menard | |
| gem5 | |
| 3526 | |
| Reviewers | |
| Default | |
This patch fixes an ambigous call compile error
The SystemC example compiles and runs
please fix the patch ...
Wow! I didn't know gcc was on 6.1 already! I'm behind the times...
-
util/systemc/main.cc (Diff revision 2) -
Extra semicolon?
-
util/systemc/main.cc (Diff revision 2) -
I think this is not the right approach for System 2.3.1.
It should be implemented like this:
wait(sc_core::sc_time::from_value(wait_period));- Line 135 checks that gem5 and SystemC have the same time unit.
- Please mark changes to SystemC code as misc
Change Summary:
Fix the patch. Thanks Mathias Jung!
Description: |
|
||||||
|---|---|---|---|---|---|---|---|
Testing Done: |
|
||||||
Diff: |
Revision 3 (+1 -1) |
Diff: |
Revision 4 (+1 -1) |
|---|
Summary: |
|
||||||
|---|---|---|---|---|---|---|---|
Description: |
|
Ship It!
