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

Peng Yu pengyu.ut at gmail.com
Thu Aug 30 03:52:07 CEST 2012


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’:

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


More information about the Rcpp-devel mailing list