Opened 15 years ago

Closed 15 years ago

#1592 closed Bugs (fixed)

[GIL] 'hex' : is not a member of 'std' in test/image.cpp

Reported by: faridz@… Owned by: Hailin Jin
Milestone: Boost 1.35.0 Component: gil USE GITHUB
Version: Boost Development Trunk Severity: Showstopper
Keywords: Cc: Hailin Jin

Description

The 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>

Change History (1)

comment:1 by Hailin Jin, 15 years ago

Resolution: fixed
Status: newclosed

Fixed.

Note: See TracTickets for help on using tickets.