Re: [Rcpp-devel] Symbol not found when including an external library

2013-09-17 Thread Simon Zehnder
The error was on my system. After trying several things (many thanks to Steve Jaffe at this point, who gave not up on me :)) I decided to make a reinstall of my system. I reinstalled the compiler and build R with gcc 4.8.1. I was then able to successfully install my package with the suggested co

Re: [Rcpp-devel] [PATCH] Be more liberal in accepting pre-processor defines for 64-bit HAS_LONG_LONG

2013-09-17 Thread Dirk Eddelbuettel
On 15 September 2013 at 22:08, Simon Zehnder wrote: | Would possibly something like | | defined(__clang__) && defined(__cplusplus) && (__cplusplus == 201103L) | defined(__clang__) && defined(__STDC_VERSION__) && (__STDC_VERSION__ == 201112L) | | do? The values given by g++ and clang++ to __cplu

Re: [Rcpp-devel] [PATCH] Be more liberal in accepting pre-processor defines for 64-bit HAS_LONG_LONG

2013-09-17 Thread Simon Zehnder
Would possibly something like defined(__clang__) && defined(__cplusplus) && (__cplusplus == 201103L) defined(__clang__) && defined(__STDC_VERSION__) && (__STDC_VERSION__ == 201112L) do? The values given by g++ and clang++ to __cplusplus in C++11 mode match, as well as the values given by gcc and