Subject: [Boost-bugs] [Boost C++ Libraries] #3142: (Phoenix) incorrect forward declaration for VC9's stdext::hash_map and stdext::hash_multimap
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-06 12:48:27
#3142: (Phoenix) incorrect forward declaration for VC9's stdext::hash_map and
stdext::hash_multimap
--------------------------+-------------------------------------------------
Reporter: Anonymous | Owner:
Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: None
Version: Boost 1.39.0 | Severity: Problem
Keywords: |
--------------------------+-------------------------------------------------
Compiler used:
VC9 sp1( it reports its version as: Microsoft (R) 32-bit C/C++ Optimizing
Compiler Version 15.00.30729.01 )
How to reproduce:
#include <hash_map>
#include
<boost\spirit\home\phoenix\stl\algorithm\detail\std_hash_map_fwd.hpp>
int main() { }
From the VS command prompt, with the environment variable BOOST_DIR set to
the appropriate path, compile:
cl px.cpp /I%BOOST_DIR%
Error:
boost_1_39_0\boost\spirit\home\phoenix\stl\algorithm\detail\std_hash_map_fwd.hpp(29)
: error C2976: 'stdext::hash_map' : too few template arguments
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\hash_map(87) : see
declaration of 'stdext::hash_map'
boost_1_39_0\boost\spirit\home\phoenix\stl\algorithm\detail\std_hash_map_fwd.hpp(36)
: error C2976: 'stdext::hash_multimap' : too few template arguments
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\hash_map(181) :
see declaration of 'stdext::hash_multimap'
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3142> 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:50:00 UTC