diff options
author | Gabe Black <gabeblack@google.com> | 2017-11-18 20:53:51 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2017-11-19 23:31:52 +0000 |
commit | 4fd58c6494080302c4fc765c83cb76b5947d1cae (patch) | |
tree | 0ec11cacd87b5be729343578e25bbf6302331c59 /src/kern/operatingsystem.hh | |
parent | 62ae85c0a2db286bcf1c8df5ad8f97a8bd527a55 (diff) | |
download | gem5-4fd58c6494080302c4fc765c83cb76b5947d1cae.tar.xz |
tests: Fix compilation of cprinftest.
This test has been broken since 70176fecd1ff04 in 2014. The problem was
that the array size in the test was technically not constant because it
was based on an int variable that wasn't declared as const. That
prevented g++ from resolving it as a template parameter. Before the
change mentioned above, the implementation wasn't based on templates.
Change-Id: I6819cf522f9ba4636ac661da368b9bcbae0a813f
Reviewed-on: https://gem5-review.googlesource.com/5821
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/kern/operatingsystem.hh')
0 files changed, 0 insertions, 0 deletions