Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64237 - sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing
From: bbartmanboost_at_[hidden]
Date: 2010-07-21 16:10:19


Author: bbartman
Date: 2010-07-21 16:10:19 EDT (Wed, 21 Jul 2010)
New Revision: 64237
URL: http://svn.boost.org/trac/boost/changeset/64237

Log:
attempting something different
Text files modified:
   sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/pointer_member_test.cpp | 6 ++++--
   1 files changed, 4 insertions(+), 2 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/pointer_member_test.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/pointer_member_test.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/pointer_member_test.cpp 2010-07-21 16:10:19 EDT (Wed, 21 Jul 2010)
@@ -23,7 +23,7 @@
     flag<b2>
> test_type_3;
 
-
+#if( _LP64 != 1)
 // This is second half long long
 // note this only works on 32 bit systems Need to remove this from the test
 // in the event that its being test on a 64 bit architecture
@@ -42,7 +42,7 @@
     flag<b1>,
     flag<b2>
> test_type_5;
-
+#endif
 int main() {
     {
     test_type_1 t1;
@@ -74,6 +74,7 @@
     }
     // NOTE this test may fail on 64 bit machines but I need to test it
     // either way.
+#if( _LP64 != 1)
     if(sizeof(void*) == 4) {
         
         test_type_3 t3;
@@ -97,5 +98,6 @@
         t5.get<rd>() = &i;
         BOOST_TEST( *t5.get<rd>() == 70 );
     }
+#endif
     return boost::report_errors();
 }


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