bakerstu / openmrn

OpenMRN (Open Model Railroad Network)
BSD 2-Clause "Simplified" License
57 stars 28 forks source link

Compiler note in arm Linux -- Debian 10 [Buster] #519

Closed RobertPHeller closed 3 years ago

RobertPHeller commented 3 years ago

When compiling on a BeagleBone running Debian 10 [Buster], I'm getting these notes:

usr/include/c++/8/bits/stl_tree.h:2146:5: note: parameter passing for argument of type ‘std::_Rb_tree<long long unsigned int, std::pair<const long long unsigned int, openlcb::Node>, std::_Select1st<std::pair<const long long unsigned int, openlcb::Node> >, std::less, Allocator<std::pair<const long long unsigned int, openlcb::Node> > >::const_iterator’ {aka ‘std::_Rb_tree_const_iterator<std::pair<const long long unsigned int, openlcb::Node> >’} changed in GCC 7.1

Is this something I need to worry about?

balazsracz commented 3 years ago

no need to worry. This is only a concern if you use more than one compiler version (an old one and a recent one). If you do a make clean, all intermediate artifacts are gone, so everything gets compiled with the current compiler version.

RobertPHeller commented 3 years ago

OK, thanks.