Boost logo

Boost-Commit :

From: technews_at_[hidden]
Date: 2008-05-27 19:24:26


Author: turkanis
Date: 2008-05-27 19:24:26 EDT (Tue, 27 May 2008)
New Revision: 45838
URL: http://svn.boost.org/trac/boost/changeset/45838

Log:
suppressed 'condition is always true' warning
Text files modified:
   trunk/boost/iostreams/detail/current_directory.hpp | 5 +++++
   1 files changed, 5 insertions(+), 0 deletions(-)

Modified: trunk/boost/iostreams/detail/current_directory.hpp
==============================================================================
--- trunk/boost/iostreams/detail/current_directory.hpp (original)
+++ trunk/boost/iostreams/detail/current_directory.hpp 2008-05-27 19:24:26 EDT (Tue, 27 May 2008)
@@ -30,6 +30,9 @@
 # include <unistd.h> // sysconf.
 #endif
 
+// Must come last.
+#include <boost/iostreams/detail/config/disable_warnings.hpp>
+
 namespace boost { namespace iostreams { namespace detail {
 
 // Returns the current working directory
@@ -57,4 +60,6 @@
 
 } } } // End namespaces detail, iostreams, boost.
 
+#include <boost/iostreams/detail/config/enable_warnings.hpp>
+
 #endif // #ifndef BOOST_IOSTREAMS_DETAIL_CURRENT_DIRECTORY_HPP_INCLUDED


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