Bug 1160 - optimized build ‘plugin’ set but not used, g++ > 4.6.0
optimized build ‘plugin’ set but not used, g++ > 4.6.0
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: mesh
ns-3-dev
All All
: P5 trivial
Assigned To: Kirill Andreev
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-16 16:39 UTC by John Abraham
Modified: 2011-06-02 11:51 UTC (History)
1 user (show)

See Also:


Attachments
patch (839 bytes, patch)
2011-05-16 16:41 UTC, John Abraham
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Abraham 2011-05-16 16:39:48 UTC
[ 986/1561] cxx: src/mesh/model/dot11s/peer-management-protocol.cc -> build/optimized/src/mesh/model/dot11s/peer-management-protocol_1.o                                                                          
../src/mesh/model/dot11s/peer-management-protocol.cc: In member function ‘void ns3::dot11s::PeerManagementProtocol::DoShiftBeacon(uint32_t)’:
../src/mesh/model/dot11s/peer-management-protocol.cc:386:48: error: variable ‘plugin’ set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
Comment 1 John Abraham 2011-05-16 16:41:26 UTC
Created attachment 1132 [details]
patch
Comment 2 Kirill Andreev 2011-06-02 11:51:57 UTC
Fixed in NS-3.11 relesae