[Rcpp-commits] r435 - pkg

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Jan 23 17:15:59 CET 2010


Author: edd
Date: 2010-01-23 17:15:59 +0100 (Sat, 23 Jan 2010)
New Revision: 435

Modified:
   pkg/configure.win
Log:
on windows, simple test for 4.3 or newer leads to simple message


Modified: pkg/configure.win
===================================================================
--- pkg/configure.win	2010-01-23 13:02:51 UTC (rev 434)
+++ pkg/configure.win	2010-01-23 16:15:59 UTC (rev 435)
@@ -1,4 +1,11 @@
 # simple check
 
-gxxversion=`g++ -v 2>&1 | grep "^g.*version" | sed -e 's/^.*g.. version *//'`
-echo "Seeing g++ version ${gxxversion}"
+gxx_version=`g++ -v 2>&1 | grep "^g.*version" | sed -e 's/^.*g.. version *//'`
+echo "Seeing g++ version ${gxx_version}"
+
+case ${gxx_version} in
+    4.3.*|4.4.*|4.5.*)
+           echo "You can enable support for the C++0x draft by uncommenting"
+           echo "the variable 'CLINK_CPPFLAGS' in src/Makevars.win"
+    ;;
+esac



More information about the Rcpp-commits mailing list