<div dir="ltr">Dear ndnSIM team,<div><br></div><div>I've been working with ndnSIM without major problems, but yesterday I updated GCC from "9.3.0" to version "10.2.0", on Gentoo Linux, and now I get the following error message: </div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">---cut----------------------------------------------------------------------</span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">../src/ndnSIM/ndn-cxx/ndn-cxx/util/scheduler.cpp: In member function ‘ndn::schedul</span>er::EventId ndn::scheduler::Scheduler::schedule(boost::chrono::nanoseconds, ndn::scheduler::EventCallback)’:
<br>../src/ndnSIM/ndn-cxx/ndn-cxx/util/scheduler.cpp:100:106: error: call of overloaded ‘make_shared<ndn::scheduler::EventInfo>(boost::chrono::nanoseconds&, std::remove _reference<std::function<void()>&>::type, uint32_t)’ is ambiguous </span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">100 | </span><span style="font-family:monospace">auto i = m_queue.insert(make_shared<EventInfo>(after, std::move(callback</span><span style="font-family:monospace">), <b>ns3::Simulator::GetContext()</b>));</span></div><div><span style="font-family:monospace">---cut-----------------------------------------------------------------------</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">On another compilation tentative, I got a similar a error on "</span>std::tie(group, std::ignore) = m_groups.insert(make_shared<StaticTrustAnchorGroup>(m_anchors, groupId));<span style="font-family:monospace">", from function "</span>TrustAnchorContainer::insert(const std::string& groupId, Certificate&& cert)"<br></div><div><br></div><div>Well, I can downgrade the GCC but maybe it is better to present this error here, and ask for guidance on correcting the issue, given that it should be a general issue with this GCC version.</div><div><br></div><div>PS: ns3 without ndnSIM compiles without errors.</div><div><br></div><div>Best regards.</div><div><span style="font-family:monospace">
<br></span><div><br></div><div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span style="font-size:12.8px">Elídio Tomás da Silva</span><br style="font-size:12.8px"><span style="font-size:12.8px">Faculdade de Engenharia - Universidade Lúrio</span><br style="font-size:12.8px"><span style="font-size:12.8px">Contactos: +351 91 4823487 / +258 84 4845016</span><br></div></div></div></div></div></div></div></div>