[Rcpp-devel] Problem with RCPP Paralell

Roberto Spadim roberto at spadim.com.br
Thu Feb 23 19:26:47 CET 2023


Hi guys
I'm trying to compile a package (NNS, I'm the developer), and it gives
errors about RCPP Parallel

Could I suppress these warnings and "make it work"?

It gives me a WARNING and at end of log a status: 1 warning
I don't know if it have some kind of flag to avoid warnings or accept it

Thanks anyway



----
LOG:
https://win-builder.r-project.org/incoming_pretest/NNS_0.9.6_20230223_190409/Windows/00check.log


** checking whether package 'NNS' can be installed ... WARNING
Found the following significant warnings:*
  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> *struct std::iterator' is deprecated
[-Wdeprecated-declarations]*
  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'



-- 
Roberto Spadim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20230223/894c4df6/attachment.html>


More information about the Rcpp-devel mailing list