Closed waynelapierre closed 2 years ago
It is from upstream code, so please report Eigen warnings at the Eigen repo. RcppEigen is just a messenger wrapping it.
See the CRAN Repository Policy:
Packages should not attempt to disable compiler diagnostics, nor to remove other diagnostic information such as symbols in shared objects.
meaning that in general I cannot suppress that (and even have to remove suppression added upstream as eg in BH
).
~/.R/Makevars
by disabling the corresponding warning: g++
usually tells you its name. I sometimes use these or a subset of thesePEDANTIC= -DBOOST_NO_AUTO_PTR -Wno-sign-compare -Wno-parentheses -Wno-maybe-uninitialized
XTRAFLAGS=-Wno-misleading-indentation -Wno-unused -Wno-ignored-attributes -Wno-parentheses -Wno-address-of-packed-member
in my CXXFLAGS
, CXX11FLAGS
, CXX1FLAGS
, ...
When installing RcppEigen, I got hundreds of warnings like this one:
My session information is: