I am building an R package using Stan, and recently I’ve been getting some warnings I’ve never noticed before. They seem like issues with BH and RcppEigen, not Stan. Here are a few of them:
/Library/Frameworks/R.framework/Versions/3.4/Resources/library/BH/include/boost/move/detail/iterator_traits.hpp:29:1: warning: inline namespaces are a C++11 feature [-Wc++11-inline-namespace]
/Library/Frameworks/R.framework/Versions/3.4/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop
I realize the problem is most likely not with Stan, but I figured one of you might know more about these warnings. Are there flags I can set to suppress them? I have BH 0.3.3.4.0 and RcppEigen 1.66.0-1. My package Makevars file has the standard C++ flags set by rstantools using the package skeleton function.