Yes, I saw your template for dummyxx, and I add a dummy parameter to my
constructor ,it doesn;t compile error.
Thank you
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
Hi. The automatically generated create() method will only exist if your
SimObject can be constructed with a constant reference to the parameter
type. Or in other words, if it has a constructor of the form
TraceManager(const TraceManagerParams ). You can disable that by
just adding a dummy
The compile error like this:
build/ARM/params/TraceManager.do: In function `TraceManagerParams::create()
const':
/data1/zhaoweiwei/gem5/base_v21.0.0.0/build/ARM/params/TraceManager.cc:53:
multiple definition of `TraceManagerParams::create() const'