<div dir="auto"><div>Dear Alex,<div dir="auto"><br></div><div dir="auto">The "quick fix" did indeed fix the problem.</div><div dir="auto"><br></div><div dir="auto">Thanks. </div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 21, 2021, 02:28 Alex Afanasyev <<a href="mailto:aa@cs.fiu.edu">aa@cs.fiu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hmm. Interesting. As a quick fix, add std:: to make_shared in failing places (std::make_shared), this should fix it.   If it works, will push the patch.<br><br><div dir="ltr">---<div>Alex</div></div><div dir="ltr"><br><blockquote type="cite">On Mar 20, 2021, at 10:02 PM, Elídio Tomás da Silva <<a href="mailto:elidio.silva@unilurio.ac.mz" target="_blank" rel="noreferrer">elidio.silva@unilurio.ac.mz</a>> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><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" 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>
<span>_______________________________________________</span><br><span>ndnSIM mailing list</span><br><span><a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank" rel="noreferrer">ndnSIM@lists.cs.ucla.edu</a></span><br><span><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank" rel="noreferrer">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a></span><br></div></blockquote></div></blockquote></div></div></div>