Closed campreilly closed 9 years ago
I am unable to address this error as I cannot get passed wavefront_generator obj creation
[ 6%] Building CXX object CMakeFiles/usml.dir/eigenverb/wavefront_generator.cc.o
cc1plus: warnings being treated as errors
/home/Tibonium/projects/usml/../usml/eigenverb/wavefront_generator.h: In constructor ‘usml::eigenverb::wavefront_generator::wavefront_generator()’:
/home/Tibonium/projects/usml/../usml/eigenverb/wavefront_generator.h:175: error: ‘usml::eigenverb::wavefront_generator::_runID’ will be initialized after
/home/Tibonium/projects/usml/../usml/eigenverb/wavefront_generator.h:167: error: ‘bool usml::eigenverb::wavefront_generator::_done’
/home/Tibonium/projects/usml/eigenverb/wavefront_generator.cc:22: error: when initialized here
/home/Tibonium/projects/usml/../boost/asio/error.hpp: At global scope:
/home/Tibonium/projects/usml/../boost/asio/error.hpp:252: error: ‘boost::asio::error::system_category’ defined but not used
/home/Tibonium/projects/usml/../boost/asio/error.hpp:254: error: ‘boost::asio::error::netdb_category’ defined but not used
/home/Tibonium/projects/usml/../boost/asio/error.hpp:256: error: ‘boost::asio::error::addrinfo_category’ defined but not used
/home/Tibonium/projects/usml/../boost/asio/error.hpp:258: error: ‘boost::asio::error::misc_category’ defined but not used
/home/Tibonium/projects/usml/../boost/system/error_code.hpp:222: error: ‘boost::system::posix_category’ defined but not used
/home/Tibonium/projects/usml/../boost/system/error_code.hpp:223: error: ‘boost::system::errno_ecat’ defined but not used
/home/Tibonium/projects/usml/../boost/system/error_code.hpp:224: error: ‘boost::system::native_ecat’ defined but not used
make[2]: *** [CMakeFiles/usml.dir/eigenverb/wavefront_generator.cc.o] Error 1
make[1]: *** [CMakeFiles/usml.dir/all] Error 2
Linux was complaining about the operator++:
// *(data_copy++) = std::pow( 10.0, (-(*data_copy)/10.0) ) ;
data_copy[i] = std::pow( 10.0, (-data_copy[i]/10.0) ) ;
warning goes away with the above change, but the original format is valid.
Apparently the compiler doesn't like the way that data copying is being done n construct_pattern Lines 203-241
This results in: