Message-ID: <19941.17682.738163.776503@max.nulle.part>
Date: 2011-05-31T19:44:18Z
From: Dirk Eddelbuettel
Subject: [Rcpp-devel] RcppArmadillo fails on FreeBSD
In-Reply-To: <4DE49874.7010906@gwdg.de>
On 31 May 2011 at 09:27, Rainer Hurling wrote:
| Dirk, sorry again for my misunderstanding.
No worries. I do appreciate how you (pretty much single-handedly) try to keep
R and its packages viable on your chosen platform.
| Yes, I also think that
| FreeBSD people could live with this patch.
The patch currently says (and I now include the forward-looking comment :)
/* TODO: we might need to undef this on other platforms as well */
#if defined(__GNUC__) && defined(_WIN64) || defined(__FreeBSD__)
#undef ARMA_HAVE_STD_SNPRINTF
#endif
Would we need additional defines for NetBSD and/or OpenBSD?
Dirk
--
Gauss once played himself in a zero-sum game and won $50.
-- #11 at http://www.gaussfacts.com