[Rcpp-commits] r4476 - in pkg/Rcpp: . inst/include/Rcpp/platform

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Sep 13 11:11:05 CEST 2013


Author: romain
Date: 2013-09-13 11:11:04 +0200 (Fri, 13 Sep 2013)
New Revision: 4476

Modified:
   pkg/Rcpp/ChangeLog
   pkg/Rcpp/inst/include/Rcpp/platform/compiler.h
Log:
reenable demangling on OSX >= 10.8, it was disabled on 10.8 for whatever reason

Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog	2013-09-13 08:59:25 UTC (rev 4475)
+++ pkg/Rcpp/ChangeLog	2013-09-13 09:11:04 UTC (rev 4476)
@@ -1,6 +1,8 @@
 2013-09-13 Romain Francois <romain at r-enthusiasts.com>
 
-	* src/api.cpp : added "long long" to the capabilities function.  
+	* src/api.cpp : added "long long" to the capabilities function. 
+	* include/Rcpp/platform/compiler.h : demangling is definitely available
+	on all mac versions using gcc. No point is testing for OSX version. 
 
 2013-09-12 Romain Francois <romain at r-enthusiasts.com>
 

Modified: pkg/Rcpp/inst/include/Rcpp/platform/compiler.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/platform/compiler.h	2013-09-13 08:59:25 UTC (rev 4475)
+++ pkg/Rcpp/inst/include/Rcpp/platform/compiler.h	2013-09-13 09:11:04 UTC (rev 4476)
@@ -174,14 +174,7 @@
 #endif
 
 #ifdef __GNUC__
-  #ifdef __APPLE__ 
-    #include <Availability.h>
-    #ifndef __MAC_10_8
-        #define RCPP_HAS_DEMANGLING
-    #endif
-  #else
-      #define RCPP_HAS_DEMANGLING
-  #endif
+  #define RCPP_HAS_DEMANGLING
 #endif
 
 #ifdef __GNUC__



More information about the Rcpp-commits mailing list