Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79965 - in trunk/libs/interprocess: proj/vc7ide test
From: igaztanaga_at_[hidden]
Date: 2012-08-11 08:47:30


Author: igaztanaga
Date: 2012-08-11 08:47:30 EDT (Sat, 11 Aug 2012)
New Revision: 79965
URL: http://svn.boost.org/trac/boost/changeset/79965

Log:
Modified test to support changeset 79964

Text files modified:
   trunk/libs/interprocess/proj/vc7ide/interprocesslib.vcproj | 3 ---
   trunk/libs/interprocess/test/shared_memory_mapping_test.cpp | 2 +-
   2 files changed, 1 insertions(+), 4 deletions(-)

Modified: trunk/libs/interprocess/proj/vc7ide/interprocesslib.vcproj
==============================================================================
--- trunk/libs/interprocess/proj/vc7ide/interprocesslib.vcproj (original)
+++ trunk/libs/interprocess/proj/vc7ide/interprocesslib.vcproj 2012-08-11 08:47:30 EDT (Sat, 11 Aug 2012)
@@ -658,9 +658,6 @@
                                 RelativePath="..\..\test\heap_allocator_v1.hpp">
                         </File>
                         <File
- RelativePath="..\..\test\Jamfile.v2">
- </File>
- <File
                                 RelativePath="..\..\test\list_test.hpp">
                         </File>
                         <File

Modified: trunk/libs/interprocess/test/shared_memory_mapping_test.cpp
==============================================================================
--- trunk/libs/interprocess/test/shared_memory_mapping_test.cpp (original)
+++ trunk/libs/interprocess/test/shared_memory_mapping_test.cpp 2012-08-11 08:47:30 EDT (Sat, 11 Aug 2012)
@@ -168,7 +168,7 @@
          }
          #endif
 
- #if defined(POSIX_MADV_DONTNEED) || defined(MADV_DONTNEED)
+ #if defined(POSIX_MADV_DONTNEED) || (defined(MADV_DONTNEED) && defined(BOOST_INTERPROCESS_MADV_DONTNEED_HAS_NONDESTRUCTIVE_SEMANTICS))
          std::cout << "Advice 'dont't need'" << std::endl;
          if(!region.advise(mapped_region::advice_dontneed)){
             return 1;


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