Bug 1209 - ns-3 click fails to build on Fedora 15 when tests are enabled
ns-3 click fails to build on Fedora 15 when tests are enabled
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: click
pre-release
PC Linux
: P5 normal
Assigned To: Lalith Suresh
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-06 05:26 UTC by Vedran Miletić
Modified: 2011-07-09 07:36 UTC (History)
1 user (show)

See Also:


Attachments
Fix (1.04 KB, patch)
2011-07-09 02:34 UTC, Lalith Suresh
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vedran Miletić 2011-07-06 05:26:51 UTC
The error is:

[1113/1481] cxx: src/click/test/ipv4-click-routing-test.cc -> build/debug/src/click/test/ipv4-click-routing-test_72.o
../src/click/test/ipv4-click-routing-test.cc: In member function ‘virtual void ns3::ClickIpMacAddressFromNameTest::DoRun()’:
../src/click/test/ipv4-click-routing-test.cc:125:7: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
Comment 1 Lalith Suresh 2011-07-09 02:34:40 UTC
Created attachment 1193 [details]
Fix

Thanks Vedran. Can you please test this patch and let me know if it works? I'm travelling and can't get g++-4.6 to test this.
Comment 2 Vedran Miletić 2011-07-09 06:14:14 UTC
Yes, it does. Thanks.
Comment 3 Lalith Suresh 2011-07-09 07:36:29 UTC
(In reply to comment #2)
> Yes, it does. Thanks.

Pushed: changeset 7361 e15cdf7d15b4