Skip to content
Prev 4221 / 10988 Next

[Rcpp-devel] portable -Wall option in $PKG_CPPFLAGS

Hi,

I use -Wall option in $PKG_CPPFLAGS.

PKG_CPPFLAGS=`echo "Rcpp:::CxxFlags()"|R --vanilla --slave` -Wall -I.

But when I check the package, it says

* checking for portable compilation flags in Makevars ... WARNING
Non-portable flags in variable ?PKG_CPPFLAGS?:
  -Wall

Does anybody know an option to display warnings that are portable? Thanks!