Boost C++ Libraries: Ticket #3072: [program options] regression test failures in VC10 Beta 1 https://svn.boost.org/trac10/ticket/3072 <p> The Program options regression tests are all failing in VC10 beta 1. </p> <p> e.g. </p> <p> <a class="ext-link" href="http://tinyurl.com/prf59j"><span class="icon">​</span>http://tinyurl.com/prf59j</a> </p> <p> <a class="ext-link" href="http://tinyurl.com/qfxz8y"><span class="icon">​</span>http://tinyurl.com/qfxz8y</a> </p> <p> There are actually 3 failures: </p> <p> 1) Some calls to bind are ambiguous (might be either boost::bind or std::tr1::bind). These can be fixed by explicitly calling boost::bind. </p> <p> 2) Theres an error about back_inserter not being defined from detail/parsers.hpp. Adding an #include &lt;iterator&gt; fixes the error. </p> <p> 3) There is also a failure due to the issue described at <a class="ext-link" href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=457199"><span class="icon">​</span>https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=457199</a> . The issue occurs when trying to instantiate 'variables_map' from variables_map.hpp </p> <p> The attached patch fixes te first 2 issue, but i don't know if anything can be done about the third. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3072 Trac 1.4.3 Richard Webb <richard.webb@…> Sun, 24 May 2009 16:36:20 GMT attachment set https://svn.boost.org/trac10/ticket/3072 https://svn.boost.org/trac10/ticket/3072 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">program_options.diff</span> </li> </ul> Ticket Richard Webb <richard.webb@…> Wed, 03 Jun 2009 16:23:14 GMT <link>https://svn.boost.org/trac10/ticket/3072#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3072#comment:1</guid> <description> <p> The third issue mentioned above has been fixed by MS - i guess the fix will be in VC10 beta 2. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Thu, 04 Jun 2009 10:08:03 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3072#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3072#comment:2</guid> <description> <p> Can you explain why (1) is happening? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Thu, 04 Jun 2009 10:09:17 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3072#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3072#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/53623" title="Include missing #include of 'iterator'. Addresses #3072. ">[53623]</a>) Include missing #include of 'iterator'. </p> <p> Addresses <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3072" title="#3072: Bugs: [program options] regression test failures in VC10 Beta 1 (closed: fixed)">#3072</a>. </p> </description> <category>Ticket</category> </item> <item> <author>Richard Webb <richard.webb@…></author> <pubDate>Thu, 04 Jun 2009 10:29:14 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3072#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3072#comment:4</guid> <description> <p> The compiler output says that std::tr1::bind is being found by ADL (which i assume is because the calls have std::string and/or std::vector as arguments). </p> <p> VC10 actually declares bind in the tr1 namespace and then puts it into the std namespace with a 'using tr1::bind', so i guess that it's finding the one in std:: and then listing it as std::tr1:: in the error message. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Sat, 06 Jun 2009 19:57:18 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3072#comment:5 https://svn.boost.org/trac10/ticket/3072#comment:5 <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/53700" title="Explicitly-qualify the use of boost::bind. It appears that MSVC 10 ...">[53700]</a>) Explicitly-qualify the use of boost::bind. </p> <p> It appears that MSVC 10 puts tr1's bind into std namespace, which clases with boost::bind thanks to ADL. Closes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3072" title="#3072: Bugs: [program options] regression test failures in VC10 Beta 1 (closed: fixed)">#3072</a>. Patch from Richard Webb. </p> Ticket