|
Boost-Commit : |
From: dwalker07_at_[hidden]
Date: 2008-07-27 19:43:06
Author: dlwalker
Date: 2008-07-27 19:43:04 EDT (Sun, 27 Jul 2008)
New Revision: 47847
URL: http://svn.boost.org/trac/boost/changeset/47847
Log:
Tweaked files to pass inspection report; one file had some min/max violations; but all had to have 'boostinspect:nolicense' set because a copyrighter, Paul Moore, has disappeared, so his files can never be changed to the main Boost license
Text files modified:
trunk/boost/math/common_factor_rt.hpp | 4 ++++
trunk/boost/rational.hpp | 4 ++++
trunk/libs/rational/index.html | 3 ++-
trunk/libs/rational/rational.html | 5 +++--
trunk/libs/rational/test/rational_example.cpp | 4 ++++
trunk/libs/rational/test/rational_test.cpp | 20 +++++++++++++++-----
6 files changed, 32 insertions(+), 8 deletions(-)
Modified: trunk/boost/math/common_factor_rt.hpp
==============================================================================
--- trunk/boost/math/common_factor_rt.hpp (original)
+++ trunk/boost/math/common_factor_rt.hpp 2008-07-27 19:43:04 EDT (Sun, 27 Jul 2008)
@@ -6,6 +6,10 @@
// without express or implied warranty, and with no claim as to its suitability
// for any purpose.
+// boostinspect:nolicense (don't complain about the lack of a Boost license)
+// (Paul Moore hasn't been in contact for years, so there's no way to change the
+// license.)
+
// See http://www.boost.org for updates, documentation, and revision history.
#ifndef BOOST_MATH_COMMON_FACTOR_RT_HPP
Modified: trunk/boost/rational.hpp
==============================================================================
--- trunk/boost/rational.hpp (original)
+++ trunk/boost/rational.hpp 2008-07-27 19:43:04 EDT (Sun, 27 Jul 2008)
@@ -5,6 +5,10 @@
// in all copies. This software is provided "as is" without express or
// implied warranty, and with no claim as to its suitability for any purpose.
+// boostinspect:nolicense (don't complain about the lack of a Boost license)
+// (Paul Moore hasn't been in contact for years, so there's no way to change the
+// license.)
+
// See http://www.boost.org/libs/rational for documentation.
// Credits:
Modified: trunk/libs/rational/index.html
==============================================================================
--- trunk/libs/rational/index.html (original)
+++ trunk/libs/rational/index.html 2008-07-27 19:43:04 EDT (Sun, 27 Jul 2008)
@@ -37,10 +37,11 @@
<p>Revised December 14, 1999</p>
-<p>© Copyright Paul Moore 1999. Permission to copy, use, modify, sell
+<p>© Copyright Paul Moore 1999. Permission to copy, use, modify, sell
and distribute this document is granted provided this copyright notice
appears in all copies. This document is provided "as is" without
express or implied warranty, and with no claim as to its suitability for
any purpose.</p>
+<!-- boostinspect:nolicense (can't find Paul Moore to change license) -->
</body>
</html>
Modified: trunk/libs/rational/rational.html
==============================================================================
--- trunk/libs/rational/rational.html (original)
+++ trunk/libs/rational/rational.html 2008-07-27 19:43:04 EDT (Sun, 27 Jul 2008)
@@ -671,10 +671,11 @@
<p>Revised November 5, 2006</p>
-<p>© Copyright Paul Moore 1999-2001; © Daryle Walker 2005. Permission to
-copy, use, modify, sell and distribute this document is granted provided this
+<p>© Copyright Paul Moore 1999-2001; © Daryle Walker 2005. Permission
+to copy, use, modify, sell and distribute this document is granted provided this
copyright notice appears in all copies. This document is provided "as
is" without express or implied warranty, and with no claim as to its
suitability for any purpose.</p>
+<!-- boostinspect:nolicense (can't find Paul Moore to change license) -->
</body>
</html>
Modified: trunk/libs/rational/test/rational_example.cpp
==============================================================================
--- trunk/libs/rational/test/rational_example.cpp (original)
+++ trunk/libs/rational/test/rational_example.cpp 2008-07-27 19:43:04 EDT (Sun, 27 Jul 2008)
@@ -5,6 +5,10 @@
// appears in all copies. This software is provided "as is" without express or
// implied warranty, and with no claim as to its suitability for any purpose.
+// boostinspect:nolicense (don't complain about the lack of a Boost license)
+// (Paul Moore hasn't been in contact for years, so there's no way to change the
+// license.)
+
// Revision History
// 14 Dec 99 Initial version
Modified: trunk/libs/rational/test/rational_test.cpp
==============================================================================
--- trunk/libs/rational/test/rational_test.cpp (original)
+++ trunk/libs/rational/test/rational_test.cpp 2008-07-27 19:43:04 EDT (Sun, 27 Jul 2008)
@@ -13,6 +13,11 @@
* extended, by Paul Moore, with permission.
*/
+// boostinspect:nolicense (don't complain about the lack of a Boost license)
+// (Stephen Silver hasn't been contacted yet for permission to change the
+// license. If Paul Moore's permission is also needed, then that's a problem
+// since he hasn't been in contact for years.)
+
// Revision History
// 05 Nov 06 Add testing of zero-valued denominators & divisors; casting with
// types that are not implicitly convertible (Daryle Walker)
@@ -26,6 +31,8 @@
#define BOOST_TEST_MAIN "Boost::Rational unit tests"
+#include <boost/config.hpp>
+#include <boost/limits.hpp>
#include <boost/mpl/list.hpp>
#include <boost/operators.hpp>
#include <boost/preprocessor/stringize.hpp>
@@ -40,7 +47,6 @@
#include <climits>
#include <iostream>
#include <istream>
-#include <limits>
#include <ostream>
#include <sstream>
#include <stdexcept>
@@ -227,8 +233,10 @@
public:
static const bool is_specialized = limits_type::is_specialized;
- static MyInt min() throw() { return limits_type::min(); }
- static MyInt max() throw() { return limits_type::max(); }
+ static MyInt min BOOST_PREVENT_MACRO_SUBSTITUTION () throw() { return
+ limits_type::min BOOST_PREVENT_MACRO_SUBSTITUTION (); }
+ static MyInt max BOOST_PREVENT_MACRO_SUBSTITUTION () throw() { return
+ limits_type::max BOOST_PREVENT_MACRO_SUBSTITUTION (); }
static const int digits = limits_type::digits;
static const int digits10 = limits_type::digits10;
@@ -273,8 +281,10 @@
public:
static const bool is_specialized = limits_type::is_specialized;
- static MyOverflowingUnsigned min() throw() { return limits_type::min(); }
- static MyOverflowingUnsigned max() throw() { return limits_type::max(); }
+ static MyOverflowingUnsigned min BOOST_PREVENT_MACRO_SUBSTITUTION () throw()
+ { return limits_type::min BOOST_PREVENT_MACRO_SUBSTITUTION (); }
+ static MyOverflowingUnsigned max BOOST_PREVENT_MACRO_SUBSTITUTION () throw()
+ { return limits_type::max BOOST_PREVENT_MACRO_SUBSTITUTION (); }
static const int digits = limits_type::digits;
static const int digits10 = limits_type::digits10;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk