[Rcpp-commits] r2629 - pkg/Rcpp/inst/include
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Nov 30 20:38:02 CET 2010
Author: romain
Date: 2010-11-30 20:38:02 +0100 (Tue, 30 Nov 2010)
New Revision: 2629
Modified:
pkg/Rcpp/inst/include/RcppCommon.h
Log:
no soup for you
Modified: pkg/Rcpp/inst/include/RcppCommon.h
===================================================================
--- pkg/Rcpp/inst/include/RcppCommon.h 2010-11-30 18:59:38 UTC (rev 2628)
+++ pkg/Rcpp/inst/include/RcppCommon.h 2010-11-30 19:38:02 UTC (rev 2629)
@@ -24,6 +24,20 @@
#ifndef RcppCommon_h
#define RcppCommon_h
+#ifdef __GNUC__
+#define GOOD_COMPILER_FOR_RCPP
+#endif
+#ifdef __SUNPRO_CC
+#define GOOD_COMPILER_FOR_RCPP
+#endif
+#ifdef __clang__
+#define GOOD_COMPILER_FOR_RCPP
+#endif
+
+#ifndef GOOD_COMPILER_FOR_RCPP
+# error "This compiler is not supported"
+#endif
+
#include <Rcpp/config.h>
#include <Rcpp/macros/unroll.h>
More information about the Rcpp-commits
mailing list