From bb53a7257cac0735c4ac55766069f34398097b2d Mon Sep 17 00:00:00 2001 From: mkfs Date: Sat, 6 Oct 2018 13:14:40 -0400 Subject: [PATCH] Removed reference to Rf_Printwarnings RsRuby will not link against R >= 3.0 as the Rf_PrintWarnings function has been removed. This removes the reference to the function and does not provide an alternative --- ext/rsruby.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/rsruby.h b/ext/rsruby.h index ffde0d8..4b91039 100644 --- a/ext/rsruby.h +++ b/ext/rsruby.h @@ -60,7 +60,7 @@ # define CleanEd Rf_CleanEd extern void CleanEd(void); extern int R_CollectWarnings; -# define PrintWarnings Rf_PrintWarnings +# define PrintWarnings() ; // NOTE: Rf_PrintWarnings removed in R 3.x extern void PrintWarnings(void); void Init_rsruby();