On 19 February 2013 at 11:47, Gong-Yi Liao wrote:
| * installing *source* package ‘RcppCNPy’ ...
| ** package ‘RcppCNPy’ successfully unpacked and MD5 sums checked
| ** libs
| g++ -I/usr/share/R/include -DNDEBUG 
| -I"/usr/local/lib/R/site-library/Rcpp/include" -fpic -std=c++11 -O2 
| -pipe -g -c cnpy.cpp -o cnpy.o

Please remove the -std=c++11 from your CXXFLAGS (or however it crept in).

CRAN does not accept it, the package is maintained and supported as a CRAN
package.  If you need extensions (such as the C++11 support) you are
currently on your own.

| It seems that this problem is caused by some function defined 
| in"codecvt.h".
| Does anyone have encountered similar problem ?

It may be a simple matter of include file order. I don't know.  

Dirk

-- 
Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com  
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to