Boost logo

Boost-Commit :

From: bdawes_at_[hidden]
Date: 2008-05-27 15:59:11


Author: bemandawes
Date: 2008-05-27 15:59:10 EDT (Tue, 27 May 2008)
New Revision: 45829
URL: http://svn.boost.org/trac/boost/changeset/45829

Log:
Fix ticket #1609
Text files modified:
   trunk/libs/filesystem/test/convenience_test.cpp | 5 +----
   trunk/libs/filesystem/test/fstream_test.cpp | 4 ----
   trunk/libs/filesystem/test/operations_test.cpp | 5 +----
   trunk/libs/filesystem/test/wide_test.cpp | 4 ----
   4 files changed, 2 insertions(+), 16 deletions(-)

Modified: trunk/libs/filesystem/test/convenience_test.cpp
==============================================================================
--- trunk/libs/filesystem/test/convenience_test.cpp (original)
+++ trunk/libs/filesystem/test/convenience_test.cpp 2008-05-27 15:59:10 EDT (Tue, 27 May 2008)
@@ -8,10 +8,7 @@
 
 // See library home page at http://www.boost.org/libs/filesystem
 
-// VC++ 8.0 warns on various less-than-safe practices.
-// See http://msdn.microsoft.com/msdnmag/issues/05/05/SafeCandC/default.aspx
-// But at least in VC++ 8.0 betas, their own libraries use the problem
-// practices. So turn off the warnings.
+#include <boost/config/warning_disable.hpp>
 
 #include <boost/filesystem/convenience.hpp>
 namespace fs = boost::filesystem;

Modified: trunk/libs/filesystem/test/fstream_test.cpp
==============================================================================
--- trunk/libs/filesystem/test/fstream_test.cpp (original)
+++ trunk/libs/filesystem/test/fstream_test.cpp 2008-05-27 15:59:10 EDT (Tue, 27 May 2008)
@@ -7,10 +7,6 @@
 
 // See library home page at http://www.boost.org/libs/filesystem
 
-// VC++ 8.0 warns on various less-than-safe practices.
-// See http://msdn.microsoft.com/msdnmag/issues/05/05/SafeCandC/default.aspx
-// But at least in VC++ 8.0 betas, their own libraries use the problem
-// practices. So turn off the warnings.
 #include <boost/config/warning_disable.hpp>
 
 #include <boost/filesystem/fstream.hpp>

Modified: trunk/libs/filesystem/test/operations_test.cpp
==============================================================================
--- trunk/libs/filesystem/test/operations_test.cpp (original)
+++ trunk/libs/filesystem/test/operations_test.cpp 2008-05-27 15:59:10 EDT (Tue, 27 May 2008)
@@ -7,11 +7,8 @@
 
 // See library home page at http://www.boost.org/libs/filesystem
 
-// VC++ 8.0 warns on various less-than-safe practices.
-// See http://msdn.microsoft.com/msdnmag/issues/05/05/SafeCandC/default.aspx
-// But at least in VC++ 8.0 betas, their own libraries use the problem
-// practices. So turn off the warnings.
 #include <boost/config/warning_disable.hpp>
+
 #include <boost/filesystem/operations.hpp>
 #include <boost/filesystem/convenience.hpp>
 #include <boost/cerrno.hpp>

Modified: trunk/libs/filesystem/test/wide_test.cpp
==============================================================================
--- trunk/libs/filesystem/test/wide_test.cpp (original)
+++ trunk/libs/filesystem/test/wide_test.cpp 2008-05-27 15:59:10 EDT (Tue, 27 May 2008)
@@ -8,10 +8,6 @@
 
 // See library home page at http://www.boost.org/libs/filesystem
 
-// VC++ 8.0 warns on various less-than-safe practices.
-// See http://msdn.microsoft.com/msdnmag/issues/05/05/SafeCandC/default.aspx
-// But at least in VC++ 8.0 betas, their own libraries use the problem
-// practices. So turn off the warnings.
 #include <boost/config/warning_disable.hpp>
 
 #include <boost/filesystem/config.hpp>


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