This upgrade is necessary for pybind to build with GCC 7.2. We still need to add the patch for stl.h. MSC_FULL_VER change is no longer needed. See https://gem5-review.googlesource.com/c/public/gem5/+/2230 Change-Id: I806729217d022070583994c2dfcaa74476aef30f Signed-off-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-on: https://gem5-review.googlesource.com/5801 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
10 lines
195 B
Python
10 lines
195 B
Python
from widget_module import Widget
|
|
|
|
|
|
class DerivedWidget(Widget):
|
|
def __init__(self, message):
|
|
super(DerivedWidget, self).__init__(message)
|
|
|
|
def the_answer(self):
|
|
return 42
|