|
Boost-Commit : |
From: technews_at_[hidden]
Date: 2008-01-14 03:37:51
Author: turkanis
Date: 2008-01-14 03:37:50 EST (Mon, 14 Jan 2008)
New Revision: 42742
URL: http://svn.boost.org/trac/boost/changeset/42742
Log:
suppressed warnings on Borland with Dinkumware
Text files modified:
branches/iostreams_dev/boost/iostreams/device/mapped_file.hpp | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
Modified: branches/iostreams_dev/boost/iostreams/device/mapped_file.hpp
==============================================================================
--- branches/iostreams_dev/boost/iostreams/device/mapped_file.hpp (original)
+++ branches/iostreams_dev/boost/iostreams/device/mapped_file.hpp 2008-01-14 03:37:50 EST (Mon, 14 Jan 2008)
@@ -62,7 +62,9 @@
struct mapped_file_params {
explicit mapped_file_params()
- #if BOOST_WORKAROUND(BOOST_MSVC, < 1400) && defined(BOOST_RWSTD_VER)
+ #if BOOST_WORKAROUND(BOOST_MSVC, < 1400) && defined(BOOST_RWSTD_VER) || \
+ defined(__BORLANDC__) && defined(_CPPLIB_VER)
+ /**/
: mode(std::ios_base::openmode(0)),
#else
: mode(),
@@ -72,7 +74,8 @@
{ }
explicit mapped_file_params(const std::string& path)
: path(path),
- #if BOOST_WORKAROUND(BOOST_MSVC, < 1400) && defined(BOOST_RWSTD_VER)
+ #if BOOST_WORKAROUND(BOOST_MSVC, < 1400) && defined(BOOST_RWSTD_VER) || \
+ defined(__BORLANDC__) && defined(_CPPLIB_VER)
mode(std::ios_base::openmode(0)),
#else
mode(),
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