[Boost-bugs] [Boost C++ Libraries] #1593: [intrprocess] 'streamoff' : is not a member of 'std'

Subject: [Boost-bugs] [Boost C++ Libraries] #1593: [intrprocess] 'streamoff' : is not a member of 'std'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-01-22 22:17:08


#1593: [intrprocess] 'streamoff' : is not a member of 'std'
-------------------------------------+--------------------------------------
 Reporter: faridz_at_[hidden] | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: Boost 1.35.0 | Component: interprocess
  Version: Boost Development Trunk | Severity: Showstopper
 Keywords: |
-------------------------------------+--------------------------------------
 The [http://stdcxx.apache.org/ stdcxx] is the another implementation of
 the STL (initially based on RogueWave STL).

     The following errors are encountered when running boost regression
 tests on msvc with stdcxx-4.2.0.

 {{{
 file_mapping_test.cpp
 ..\libs\interprocess\test\file_mapping_test.cpp(31) : error C2039:
 'streamoff' : is not a member of 'std'
 ..\libs\interprocess\test\file_mapping_test.cpp(31) : error C2061: syntax
 error : identifier 'streamoff'
 }}}

 The proposed patch:

 {{{
 Index: libs/interprocess/test/file_mapping_test.cpp
 ===================================================================
 --- libs/interprocess/test/file_mapping_test.cpp (revision 42908)
 +++ libs/interprocess/test/file_mapping_test.cpp (working copy)
 @@ -9,6 +9,7 @@
 //////////////////////////////////////////////////////////////////////////////

  #include <boost/interprocess/detail/config_begin.hpp>
 +#include <ios> // for std::streamoff
  #include <fstream>
  #include <iostream>
  #include <boost/interprocess/file_mapping.hpp>
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1593>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC