This error is due to outdated use of the AddTraceSource() method.
If you look at trace sources in recent versions of ns-3, they all
have at least four parameters:
.AddTraceSource ("RTT",
"Last RTT sample",
MakeTraceSourceAccessor
(&TcpSocketBase::m_lastRttTrace),
"ns3::TracedValueCallback::Time")
I don't know the code you are referring to, but it must have the
old variant of AddTraceSource() that had the first three
parameters only.
The fourth parameter was added a while back to make it easier for our Doxygen documentation system to cross-reference the callback signature of the method that a user should pass to the trace source.
If you want to clear the error and are not concerned about
Doxygen, you can simply add a fourth argument to that
AddTraceSource() call, using the empty string: ""; doing so won't
affect the simulation results at all.
- Tom
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/ece3397d-fcd3-17fe-488b-68b9f246bf9b%40tomh.org.