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

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


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!

-- 
Regards,
Peng


More information about the Rcpp-devel mailing list