Re: [Rcpp-devel] Rcpp module errors with Rcpp binary installation

2014-05-01 Thread Kevin Ushey
Hi Ariful (sorry, I think I addressed you by your last name earlier), clang does do things differently than gcc, so even though std::function is a C++11 feature, I guess it 'leaks out' when compiling even with -std=c++11 not specified. gcc doesn't have this problem. Unfortunately, there are ABI i

Re: [Rcpp-devel] Rcpp module errors with Rcpp binary installation

2014-05-01 Thread Ariful Azad
Thanks Kevin for the prompt reply. As a quick fix to the Bioconductor problem (2nd issue), I used Rcpp::function in the Rcpp module (replacing using namespace std will be more work at this point). I will have to wait till Saturday to see the build result. I am surprised that they don't have the err

Re: [Rcpp-devel] Rcpp module errors with Rcpp binary installation

2014-05-01 Thread Kevin Ushey
Actually, to confirm: this is exactly what the build report tells you (with a lot of macro expansion in the support of Rcpp::function)... clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Framewor

Re: [Rcpp-devel] Rcpp module errors with Rcpp binary installation

2014-05-01 Thread Kevin Ushey
Hi Azad, Your first issue is something separate, probably due to clashing compiler toolchains between compiled versions of R / packages. If you want to dive into that further you'll need to give us some more information about your compiler setup. The second issue, with flowMatch, I believe this i

[Rcpp-devel] Rcpp module errors with Rcpp binary installation

2014-05-01 Thread Ariful Azad
Dear All, This question might be a repeat of an earlier question, but I will be grateful if you can suggest any alternate solution to my problem. My system: Mac OS X 10.9 (Mavericks) Rcpp Version: 0.11.1 R Version: 3.0.3 I installed Rcpp from binary using the instal