Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50720 - sandbox/math_toolkit/libs/math/test
From: pbristow_at_[hidden]
Date: 2009-01-22 04:48:28


Author: pbristow
Date: 2009-01-22 04:48:27 EST (Thu, 22 Jan 2009)
New Revision: 50720
URL: http://svn.boost.org/trac/boost/changeset/50720

Log:
Warning suppression

Text files modified:
   sandbox/math_toolkit/libs/math/test/mpfr_concept_check.cpp | 1 +
   sandbox/math_toolkit/libs/math/test/ntl_concept_check.cpp | 9 +++++----
   2 files changed, 6 insertions(+), 4 deletions(-)

Modified: sandbox/math_toolkit/libs/math/test/mpfr_concept_check.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/mpfr_concept_check.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/mpfr_concept_check.cpp 2009-01-22 04:48:27 EST (Thu, 22 Jan 2009)
@@ -17,6 +17,7 @@
 # pragma warning(disable:4512)
 # pragma warning(disable:4127)
 # pragma warning(disable:4512)
+# pragma warning(disable:4503) // decorated name length exceeded, name was truncated
 #endif
 
 #include <boost/math/bindings/mpfr.hpp>

Modified: sandbox/math_toolkit/libs/math/test/ntl_concept_check.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/ntl_concept_check.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/ntl_concept_check.cpp 2009-01-22 04:48:27 EST (Thu, 22 Jan 2009)
@@ -10,16 +10,17 @@
 // conceptual requirements, and that we can instantiate
 // all our distributions and special functions on this type.
 //
+
+#ifdef _MSC_VER
+# pragma warning (disable : 4100) // unreferenced formal parameter
+#endif
+
 #define BOOST_MATH_ASSERT_UNDEFINED_POLICY false
 
 #include <boost/math/bindings/rr.hpp>
 #include <boost/math/concepts/real_type_concept.hpp>
 #include "compile_test/instantiate.hpp"
 
-#ifdef _MSC_VER
-# pragma warning (disable : 4100) // unreferenced formal parameter
-#endif
-
 void foo()
 {
    instantiate(boost::math::ntl::RR());


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