Bugzilla – Bug 1119
ns2-mobility-helper.cc:402: error: ignoring return value
Last modified: 2012-03-17 19:39:43 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}