Hi Roberto:

That is interesting.  I see 5 warnings for std::iterator.
4 of those are coming from a subdirectory named tbb.
My first thought was that this is the Intel TBB library.
And sure enough in RcppParallel,
the SystemRequirements lists Intel TBB.  So, now I’m
wondering if you have the same version of Intel TBB
installed on your PC as they do on win-builder.
Also, are you using GCC 12.2.0 with R 4.3?  Hope
that helps.  Thanks

--
Rodney Sparapani, Associate Professor of Biostatistics
Director, Wisconsin Chapter of the American Statistical Association
Institute for Health and Equity, Division of Biostatistics
Medical College of Wisconsin, Milwaukee Campus

From: Rcpp-devel <rcpp-devel-boun...@lists.r-forge.r-project.org> on behalf of 
Roberto Spadim <robe...@spadim.com.br>
Date: Thursday, February 23, 2023 at 12:27 PM
To: rcpp-devel@lists.r-forge.r-project.org 
<rcpp-devel@lists.r-forge.r-project.org>
Subject: [Rcpp-devel] Problem with RCPP Paralell
ATTENTION: This email originated from a sender outside of MCW. Use caution when 
clicking on links or opening attachments.
________________________________
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<https://urldefense.com/v3/__https:/win-builder.r-project.org/incoming_pretest/NNS_0.9.6_20230223_190409/Windows/00check.log__;!!H8mHWRdzp34!-lNUUfvx4AY7WFscd-Nf18glo9yXoCof_SWB8x0jgKt5vnYBcl_AGMHn7jVMIebACTsyRpSZ5w2X-N-DyA$>




* 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
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to