Bug 1209

Summary: ns-3 click fails to build on Fedora 15 when tests are enabled
Product: ns-3 Reporter: Vedran Miletić <vedran>
Component: clickAssignee: Lalith Suresh <suresh.lalith>
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs
Priority: P5    
Version: pre-release   
Hardware: PC   
OS: Linux   
Attachments: Fix

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