hello,
I am new in ns3, I have a problem that when I debug my code, I am used to define some function but do not use them everytime I run it. However, I can not run it with the warning there.
How can I solve this problem?
thanks a lot
-------------------------------------------------------------------------------------------------------------
cc1plus: warnings being treated as errors
../scratch/last.cc:38: error: ‘ns3::Vector GetPosition(ns3::Ptr<ns3::Node>)’ defined but not used
Waf: Leaving directory `/home/dinglei/vissim_ns-allinone-3.19/ns-3.19/build'
Build failed