[Rcpp-devel] Rcpp 0.9.10 and cygwin 1.7.12-1

Dirk Eddelbuettel edd at debian.org
Sun Apr 22 22:36:29 CEST 2012


On 22 April 2012 at 13:08, Dario Buttari wrote:
| Thank you Dirk.
| I just realized that I forgot to update a comment on a later line of
| the debugging.cpp file. The updated patch is below.
| Sorry about that, Dario
| 
| ----------------------------------------------------------------------
| --- debugging.cpp_bk    2012-04-22 13:01:55.224641700 -0700
| +++ debugging.cpp       2012-04-22 13:03:19.739130300 -0700
| @@ -22,7 +22,7 @@
|  #include <Rcpp.h>
| 
|  #if defined(__GNUC__)
| -#if defined(WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) ||
| defined(__OpenBSD__)
| +#if defined(WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) ||
| defined(__OpenBSD__) || defined(__CYGWIN__)
|  // Simpler version for Windows and *BSD
|  SEXP stack_trace( const char* file, int line ){
|      Rcpp::List trace = Rcpp::List::create(
| @@ -32,7 +32,7 @@
|      trace.attr("class") = "Rcpp_stack_trace" ;
|      return trace ;
|  }
| -#else // ! (defined(WIN32) || defined(__FreeBSD__) ||
| defined(__NetBSD__) || defined(__OpenBSD__)
| +#else // ! (defined(WIN32) || defined(__FreeBSD__) ||
| defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__)
|  #include <execinfo.h>
|  #include <cxxabi.h>
| ------------------------------------------------------------------------

Done.  

As it was just a comment, it didn't matter as much but it is better to do
both as you suggest.

Dirk

-- 
R/Finance 2012 Conference on May 11 and 12, 2012 at UIC in Chicago, IL
See agenda, registration details and more at http://www.RinFinance.com


More information about the Rcpp-devel mailing list