Boost C++ Libraries: Ticket #10190: declval missing in GCC 4.4 https://svn.boost.org/trac10/ticket/10190 <p> Many Fusion tests as well as all Boost.MSM tests fail on QNX 6.5.0 in C++0x mode because Fusion uses the function std::declval() that GCC 4.4 doesn't provide. </p> <p> Also some numeric/odeint tests such as fusion_algebra and some spirit/repository tests such as qi_repo_subrule fail due to this. </p> <p> Sample error: </p> <blockquote class="citation"> <p> ../boost/fusion/container/map/map_iterator.hpp:40: error: 'declval' is not a member of 'std' </p> </blockquote> <p> Full output: <a href="http://www.boost.org/development/tests/develop/developer/output/NA-QNX650-SP1-x86-boost-bin-v2-libs-fusion-test-map-test-qcc-4-4-2_x86-debug-debug-symbols-off.html">http://www.boost.org/development/tests/develop/developer/output/NA-QNX650-SP1-x86-boost-bin-v2-libs-fusion-test-map-test-qcc-4-4-2_x86-debug-debug-symbols-off.html</a> </p> <p> The attached patch replaces all uses of std::declval() with boost::declval(). </p> <p> All Fusion tests pass with the patch except those that already failed for other reasons (std_tuple_iterator, std_tuple and as_map). All MSM tests also pass except those that have always failed for other reasons. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10190 Trac 1.4.3 Niklas Angare <li51ckf02@…> Fri, 11 Jul 2014 18:26:14 GMT attachment set https://svn.boost.org/trac10/ticket/10190 https://svn.boost.org/trac10/ticket/10190 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">fusion_declval.patch</span> </li> </ul> Ticket Joel de Guzman Fri, 11 Jul 2014 21:32:45 GMT <link>https://svn.boost.org/trac10/ticket/10190#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10190#comment:1</guid> <description> <p> Could you post a pull request here? <a class="ext-link" href="https://github.com/boostorg/fusion"><span class="icon">​</span>https://github.com/boostorg/fusion</a> </p> </description> <category>Ticket</category> </item> <item> <author>Niklas Angare <li51ckf02@…></author> <pubDate>Sat, 12 Jul 2014 16:11:29 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10190#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10190#comment:2</guid> <description> <p> Sure, but I don't have a <a class="missing wiki">GitHub</a> account and it will take me a while to set one up. </p> </description> <category>Ticket</category> </item> <item> <author>Kohei Takahashi <flast@…></author> <pubDate>Fri, 31 Oct 2014 01:40:41 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10190#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10190#comment:3</guid> <description> <p> The patch seems good. I open a PR on behalf of Niklas. </p> <p> ttps://github.com/boostorg/fusion/pull/30 </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel de Guzman</dc:creator> <pubDate>Fri, 31 Oct 2014 02:48:28 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/10190#comment:4 https://svn.boost.org/trac10/ticket/10190#comment:4 <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> Ticket