From ecfd295fba3aaf543ba1b96964e54f81a1dd4ab5 Mon Sep 17 00:00:00 2001 From: Dirk Eddelbuettel Date: Fri, 18 Nov 2016 06:00:58 -0600 Subject: [PATCH] release 1.62.0-1 w/ final forced_return.hpp --- ChangeLog | 9 +++++++-- DESCRIPTION | 2 +- inst/include/boost/variant/detail/forced_return.hpp | 5 ++++- local/scripts/CreateBoost.sh | 2 +- man/BH-package.Rd | 2 +- 5 files changed, 14 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index a96461fb7..471536930 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,14 @@ -2016-11-15 Dirk Eddelbuettel +2016-11-18 Dirk Eddelbuettel * DESCRIPTION: Release 1.62.0-1 + * inst/include/boost/variant/detail/forced_return.hpp: Ensure + R_NO_REMAP is defined + +2016-11-15 Dirk Eddelbuettel + * inst/include/boost/variant/detail/forced_return.hpp - (forced_return_no_return): Call (Rf_)error() not abort() + (forced_return_no_return): Call Rf_error() not abort() 2016-11-13 Dirk Eddelbuettel diff --git a/DESCRIPTION b/DESCRIPTION index 7f5755a84..00d81e696 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Package: BH Type: Package Title: Boost C++ Header Files Version: 1.62.0-1 -Date: 2016-11-15 +Date: 2016-11-18 Author: Dirk Eddelbuettel, John W. Emerson and Michael J. Kane Maintainer: Dirk Eddelbuettel Description: Boost provides free peer-reviewed portable C++ source diff --git a/inst/include/boost/variant/detail/forced_return.hpp b/inst/include/boost/variant/detail/forced_return.hpp index 1416fa49d..52a96d7ee 100644 --- a/inst/include/boost/variant/detail/forced_return.hpp +++ b/inst/include/boost/variant/detail/forced_return.hpp @@ -17,6 +17,9 @@ #include #include #include // std::abort +#ifndef R_NO_REMAP +#define R_NO_REMAP +#endif #include // Rf_error() #ifdef BOOST_MSVC @@ -29,7 +32,7 @@ namespace boost { namespace detail { namespace variant { BOOST_NORETURN inline void forced_return_no_return() { // fixes `must return a value` warnings using namespace std; //abort(); // some implementations have no std::abort - Rf_error("Forced return to R"); + ::Rf_error("Forced return to R"); } diff --git a/local/scripts/CreateBoost.sh b/local/scripts/CreateBoost.sh index 0b842cfb0..d96f95d89 100755 --- a/local/scripts/CreateBoost.sh +++ b/local/scripts/CreateBoost.sh @@ -13,7 +13,7 @@ pkgdir="${HOME}/git/bh" boosttargz="boost_1_62_0.tar.gz" ## -- current package version and date (and other metadata as needed) version="1.62.0-1" -date="2016-11-13" +date="2016-11-18" diff --git a/man/BH-package.Rd b/man/BH-package.Rd index 36f96d1a8..02abdcc85 100644 --- a/man/BH-package.Rd +++ b/man/BH-package.Rd @@ -16,7 +16,7 @@ Package: \tab BH\cr Type: \tab Package\cr Version: \tab 1.62.0-1\cr -Date: \tab 2016-11-13\cr +Date: \tab 2016-11-18\cr License: \tab BSL-1.0\cr } Boost provides free peer-reviewed portable C++ source