Re: [Rcpp-devel] Compiling issue about Rcpp

2014-04-18 Thread Dirk Eddelbuettel
On 18 April 2014 at 16:16, Ian Fellows wrote: | I may have been the reason that the issue arose as my blog post on Rcpp + RInside + Eclipse listed both /include and /include/Rcpp as header directories. I can’t remember if this was needed at some point in history or if I just thought I’d be thor

Re: [Rcpp-devel] Compiling issue about Rcpp

2014-04-18 Thread Ian Fellows
I may have been the reason that the issue arose as my blog post on Rcpp + RInside + Eclipse listed both /include and /include/Rcpp as header directories. I can’t remember if this was needed at some point in history or if I just thought I’d be thorough making sure I didn’t miss any headers. Reg

Re: [Rcpp-devel] Compiling issue about Rcpp

2014-04-18 Thread Dirk Eddelbuettel
On 18 April 2014 at 09:12, Ian Fellows wrote: | Looks like the same problem described here in http://stackoverflow.com/questions/15489065/rcppeclipse-on-mac-os-x/15532241#15532241 due to Rcpp having a file named string.h which can conflict with std. | | Perhaps try using the -idirafter directiv

Re: [Rcpp-devel] Compiling issue about Rcpp

2014-04-18 Thread Ian Fellows
: error: ISO C++ > forbids declaration of 'proxy' with no type [-fpermissive]* > *D:/R/R-3.1.0/library/Rcpp/include/Rcpp/string.h:170:42: error: > 'StringProxy' does not name a type* > *D:/R/R-3.1.0/library/Rcpp/include/Rcpp/string.h:170:55: error: ISO C++ > forbids

Re: [Rcpp-devel] Compiling issue about Rcpp

2014-04-18 Thread Ian Fellows
.h:112:54: error: ISO C++ > forbids declaration of 'proxy' with no type [-fpermissive]* > *D:/R/R-3.1.0/library/Rcpp/include/Rcpp/string.h:170:42: error: > 'StringProxy' does not name a type* > *D:/R/R-3.1.0/library/Rcpp/include/Rcpp/string.h:170:55: error: ISO C++