[Boost-bugs] [Boost C++ Libraries] #1592: [GIL] 'hex' : is not a member of 'std' in test/image.cpp

Subject: [Boost-bugs] [Boost C++ Libraries] #1592: [GIL] 'hex' : is not a member of 'std' in test/image.cpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-01-22 22:02:05


#1592: [GIL] 'hex' : is not a member of 'std' in test/image.cpp
-------------------------------------+--------------------------------------
 Reporter: faridz_at_[hidden] | Owner: hljin
     Type: Bugs | Status: new
Milestone: Boost 1.35.0 | Component: GIL
  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.

 {{{
 image.cpp
 ..\libs\gil\test\image.cpp(400) : error C2039: 'hex' : is not a member of
 'std'
 ..\libs\gil\test\image.cpp(400) : error C2065: 'hex' : undeclared
 identifier
 ..\libs\gil\test\image.cpp(446) : error C2039: 'hex' : is not a member of
 'std'
 }}}

   The proposed patch:

 {{{
 Index: libs/gil/test/image.cpp
 ===================================================================
 --- libs/gil/test/image.cpp (revision 42908)
 +++ libs/gil/test/image.cpp (working copy)
 @@ -17,6 +17,7 @@

  #include <string>
  #include <vector>
 +#include <ios> // for std::hex
  #include <iostream>
  #include <fstream>
  #include <map>
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1592>
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