Bugzilla – Bug 1155
opt build ns3::PacketSocket::RecvFrom ‘found’ set but not used
Last modified: 2011-08-09 19:15:33 UTC
This is seen only in g++ 4.6.0 optimized builds ../src/network/utils/packet-socket.cc: In member function ‘virtual ns3::Ptr<ns3::Packet> ns3::PacketSocket::RecvFrom(uint32_t, uint32_t, ns3::Address&)’: ../src/network/utils/packet-socket.cc:441:12: error: variable ‘found’ set but not used [-Werror=unused-but-set-variable] cc1plus: all warnings being treated as errors
Created attachment 1124 [details] patch
Created attachment 1125 [details] patch
Created attachment 1126 [details] patch