summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorMaurice Becker <madnaurice@googlemail.com>2018-09-18 10:14:24 +0200
committerMaurice Becker <madnaurice@googlemail.com>2018-09-18 16:57:56 +0000
commitb3ef93166f76b3f76fe5254322d3fcb0f5e4b559 (patch)
tree6a8caf6d82555729132f2cc8e22cb1e7c6f5b707 /SConstruct
parent95143897fc9894241c663982496578b67a238be7 (diff)
downloadgem5-b3ef93166f76b3f76fe5254322d3fcb0f5e4b559.tar.xz
dev, arm: fix error class-memaccess with GCC >= 8.1
From GCC 8.1 on GCC issues a warning when using memset et al on structs and classes. With the way gem5 builds, this actually prevents successful builds. Instead of using a pointer with SCSIReply as type, we cast to a void pointer to avoid the message. On the way we wrap the memset call into a method of SCSIReply called reset for better code readability. Signed-off-by: Maurice Becker <madnaurice@googlemail.com> Change-Id: I3ed3fd9714be5d253aba01ca00b1863e1ae5cb68 Reviewed-on: https://gem5-review.googlesource.com/12685 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'SConstruct')
0 files changed, 0 insertions, 0 deletions