RcppCore / RcppArmadillo

Rcpp integration for the Armadillo templated linear algebra library
193 stars 56 forks source link

Reverse dependencies may need CXX_STD set to C++11 or C++14 #356

Closed eddelbuettel closed 2 years ago

eddelbuettel commented 2 years ago

When reverse-dependency checking the release candidate for 0.10.7.4.0 (with the upstream maintenance release 10.7.4) we noticed three packages failing over having a data object which, as @conradsnicta reminded us, conflicts with std::data() in C++17 (if and when using namespace std; is used) as g++ version 11 now defaults to C++17.

This affects packages

and I plan to contact the maintainers (myself for RcppSMC) to suggest adding CXX_STD=CXX11 (or CXX14) which addresses the issue in question, and keep tabs here on whether these have been updated.

eddelbuettel commented 2 years ago

Now (already !!) fixed in source, I may leave it open til all three are updated at CRAN...

eddelbuettel commented 2 years ago

This issue has by now been taken care of at the CRAN level with an email to affected maintainers, including those for RSSL and sbfc (and RcppSMC has already been fixed at CRAN as well). As it is monitored there this ticket can be closed.