[Rinside-commits] r269 - in pkg: . inst/examples/standard

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Nov 8 21:44:14 CET 2012


Author: edd
Date: 2012-11-08 21:44:14 +0100 (Thu, 08 Nov 2012)
New Revision: 269

Modified:
   pkg/ChangeLog
   pkg/inst/examples/standard/rinside_sample11.cpp
Log:
added missing header declaration


Modified: pkg/ChangeLog
===================================================================
--- pkg/ChangeLog	2012-11-04 23:23:39 UTC (rev 268)
+++ pkg/ChangeLog	2012-11-08 20:44:14 UTC (rev 269)
@@ -1,3 +1,8 @@
+2012-11-08  Dirk Eddelbuettel  <edd at debian.org>
+
+	* inst/examples/standard/rinside_sample11.cpp: added include for
+	unistd so that unlink() is declared as needed for g++ (>= 4.7)
+
 2012-11-04  Dirk Eddelbuettel  <edd at debian.org>
 
 	* DESCRIPTION: Release 0.2.9

Modified: pkg/inst/examples/standard/rinside_sample11.cpp
===================================================================
--- pkg/inst/examples/standard/rinside_sample11.cpp	2012-11-04 23:23:39 UTC (rev 268)
+++ pkg/inst/examples/standard/rinside_sample11.cpp	2012-11-08 20:44:14 UTC (rev 269)
@@ -1,9 +1,10 @@
 // Simple example motivated by post from Paul Smith <phhs80 at gmail.com>
 // to r-help on 06 Mar 2011
 //
-// Copyright (C) 2011  Dirk Eddelbuettel and Romain Francois
+// Copyright (C) 2011 - 2012  Dirk Eddelbuettel and Romain Francois
 
 #include <RInside.h>                    // for the embedded R via RInside
+#include <unistd.h>
 
 int main(int argc, char *argv[]) {
 



More information about the Rinside-commits mailing list