Bug 1119

Summary: ns2-mobility-helper.cc:402: error: ignoring return value
Product: ns-3 Reporter: John Abraham <john.abraham.in>
Component: mobility modelsAssignee: Pavel Boyko <boyko>
Status: CLOSED FIXED    
Severity: trivial CC: ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   

Description John Abraham 2011-05-01 17:21:18 UTC
with ./waf -d optimized configure; ./waf on Ubuntu64 (10.04) with 
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 

we get 

cc1plus: warnings being treated as errors
../src/mobility/helper/ns2-mobility-helper.cc: In function ‘bool ns3::IsNumber(const std::string&)’:
../src/mobility/helper/ns2-mobility-helper.cc:402: error: ignoring return value of ‘double strtod(const char*, char**)’, declared with attribute warn_unused_result
Waf: Leaving directory `/home/john/ns-3-bugtest/ns-3-allinone/ns-3-dev/build'
Build failed:  -> task failed (err #1): 
	{task: cxx ns2-mobility-helper.cc -> ns2-mobility-helper_1.o}