Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73610 - sandbox/big_number/libs/math/test
From: john_at_[hidden]
Date: 2011-08-08 12:15:37


Author: johnmaddock
Date: 2011-08-08 12:15:37 EDT (Mon, 08 Aug 2011)
New Revision: 73610
URL: http://svn.boost.org/trac/boost/changeset/73610

Log:
Add some build warnings.
Text files modified:
   sandbox/big_number/libs/math/test/test_arithmetic.cpp | 8 ++++++++
   1 files changed, 8 insertions(+), 0 deletions(-)

Modified: sandbox/big_number/libs/math/test/test_arithmetic.cpp
==============================================================================
--- sandbox/big_number/libs/math/test/test_arithmetic.cpp (original)
+++ sandbox/big_number/libs/math/test/test_arithmetic.cpp 2011-08-08 12:15:37 EDT (Mon, 08 Aug 2011)
@@ -12,6 +12,14 @@
 # define TEST_MPF
 # define TEST_BACKEND
 # define TEST_MPZ
+
+#ifdef _MSC_VER
+#pragma message("CAUTION!!: No backend type specified so testing everything.... this will take some time!!")
+#endif
+#ifdef __GNUC__
+#pragma warning "CAUTION!!: No backend type specified so testing everything.... this will take some time!!"
+#endif
+
 #endif
 
 template <class Real>


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