Boost C++ Libraries: Ticket #3142: (Phoenix) incorrect forward declaration for VC9's stdext::hash_map and stdext::hash_multimap https://svn.boost.org/trac10/ticket/3142 <p> Compiler used: VC9 sp1( it reports its version as: Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 ) </p> <p> How to reproduce: </p> <p> #include &lt;hash_map&gt; </p> <p> #include &lt;boost\spirit\home\phoenix\stl\algorithm\detail\std_hash_map_fwd.hpp&gt; </p> <p> int main() { } </p> <p> From the VS command prompt, with the environment variable BOOST_DIR set to the appropriate path, compile: </p> <p> cl px.cpp /I%BOOST_DIR% </p> <p> Error: </p> <p> 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 </p> <p> C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\hash_map(87) : see declaration of 'stdext::hash_map' </p> <p> 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 </p> <p> C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\hash_map(181) : see declaration of 'stdext::hash_multimap' </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3142 Trac 1.4.3 anonymous Sat, 06 Jun 2009 12:49:28 GMT attachment set https://svn.boost.org/trac10/ticket/3142 https://svn.boost.org/trac10/ticket/3142 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">px.cpp</span> </li> </ul> <p> Phoenix/VC9 forward declaration of stdext::hash_map problem </p> Ticket viboes Sat, 06 Jun 2009 15:29:27 GMT component changed; owner set https://svn.boost.org/trac10/ticket/3142#comment:1 https://svn.boost.org/trac10/ticket/3142#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Joel de Guzman</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">spirit</span> </li> </ul> Ticket Steven Watanabe Sat, 06 Jun 2009 18:20:42 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3142#comment:2 https://svn.boost.org/trac10/ticket/3142#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/53697" title="Fix forward declarations of hash containers. Fixes #3142">[53697]</a>) Fix forward declarations of hash containers. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3142" title="#3142: Bugs: (Phoenix) incorrect forward declaration for VC9's stdext::hash_map and ... (closed: fixed)">#3142</a> </p> Ticket anonymous Wed, 09 Sep 2009 15:17:44 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/3142#comment:3 https://svn.boost.org/trac10/ticket/3142#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> <p> The fix seems to be missing from 1.40 which still suffers from the wrong number of parameters in the fwd declaration. Please reopen this issue. </p> Ticket anonymous Wed, 09 Sep 2009 15:18:49 GMT version changed https://svn.boost.org/trac10/ticket/3142#comment:4 https://svn.boost.org/trac10/ticket/3142#comment:4 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.39.0</span> → <span class="trac-field-new">Boost 1.40.0</span> </li> </ul> Ticket Steven Watanabe Thu, 17 Sep 2009 15:25:00 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3142#comment:5 https://svn.boost.org/trac10/ticket/3142#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> This will be fixed for 1.41. </p> Ticket