<div dir="ltr">Hi guys<div>I'm trying to compile a package (NNS, I'm the developer), and it gives errors about RCPP ParallelĀ <div><br></div><div>Could I suppressĀ these warnings and "make it work"?</div><div><br></div><div>It gives me a WARNING and at end of log a status: 1 warning</div><div>I don't know if it have some kind of flag to avoid warnings or accept it</div><div><br></div><div>Thanks anyway</div><div><br></div><div><br></div><div><br></div><div>----</div><div>LOG:</div><div><a href="https://win-builder.r-project.org/incoming_pretest/NNS_0.9.6_20230223_190409/Windows/00check.log">https://win-builder.r-project.org/incoming_pretest/NNS_0.9.6_20230223_190409/Windows/00check.log</a></div><div><br></div><div><pre style="color:rgb(0,0,0);white-space:pre-wrap"><br class="gmail-Apple-interchange-newline">
<b>* checking whether package 'NNS' can be installed ... WARNING
Found the following significant warnings:</b>
D:/RCompile/CRANpkg/lib/4.3/RcppParallel/include/tbb/concurrent_hash_map.h:343:23: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> <b>struct std::iterator' is deprecated [-Wdeprecated-declarations]</b>
D:/RCompile/CRANpkg/lib/4.3/RcppParallel/include/tbb/internal/_concurrent_queue_impl.h:744:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
D:/RCompile/CRANpkg/lib/4.3/RcppParallel/include/tbb/internal/_concurrent_queue_impl.h:1003:21: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
D:/RCompile/CRANpkg/lib/4.3/RcppParallel/include/tbb/internal/_concurrent_unordered_impl.h:67:36: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
D:/RCompile/CRANpkg/lib/4.3/RcppParallel/include/RcppParallel/RMatrix.h:18:24: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
See 'd:/RCompile/CRANincoming/R-devel/NNS.Rcheck/00install.out' for details.
* used C++ compiler: 'g++.exe (GCC) 12.2.0'
</pre><br class="gmail-Apple-interchange-newline"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr">Roberto Spadim<br></div></div></div></div></div></div></div>