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
declaration of 'proxy' with no type [-fpermissive]* > *D:/R/R-3.1.0/library/Rcpp/include/Rcpp/string.h:178:36: error: declaration > of 'operator+=' as non-function* > *D:/R/R-3.1.0/library/Rcpp/include/Rcpp/string.h:178:32: error: expected > ';' at end of

Re: [Rcpp-devel] Compiling issue about Rcpp

2014-04-18 Thread Ian Fellows
> forbids declaration of 'proxy' with no type [-fpermissive]* > *D:/R/R-3.1.0/library/Rcpp/include/Rcpp/string.h:178:36: error: declaration > of 'operator+=' as non-function* > *D:/R/R-3.1.0/library/Rcpp/include/Rcpp/string.h:178:32: error: expected > ';' at en

Re: [Rcpp-devel] Compiling issue about Rcpp

2014-04-17 Thread Dirk Eddelbuettel
Wen, On 18 April 2014 at 09:22, Wen YOU wrote: | I am new to Rcpp and might need some of your help, thanks a lot. | I was trying to compile my Rcpp program in eclipse. But I met a lot of errors | when I was trying to do so. Most of the error comes from the String.h. Here is | the command and part