Boost C++ Libraries: Ticket #4459: [Optional] Trunk build broken as of 20100721 https://svn.boost.org/trac10/ticket/4459 <p> May be related to some optional changes or lack of include between graph/Property Tree/XML/GraphML: </p> <p> In file included from ./boost/property_tree/stream_translator.hpp:17, </p> <blockquote> <p> from ./boost/property_tree/ptree.hpp:17, from ./boost/property_tree/detail/file_parser_error.hpp:13, from ./boost/property_tree/detail/xml_parser_error.hpp:13, from ./boost/property_tree/detail/xml_parser_utils.hpp:14, from ./boost/graph/graphml.hpp:26, from libs/graph/src/graphml.cpp:17: </p> </blockquote> <p> ./boost/optional/optional_io.hpp: In function ‘std::basic_istream&lt;_CharT, _Traits&gt;&amp; boost::operator&gt;&gt;(std::basic_istream&lt;_CharT, _Traits&gt;&amp;, boost::optional&lt;T&gt;&amp;)’: ./boost/optional/optional_io.hpp:77: error: ‘ios’ has not been declared ./boost/optional/optional_io.hpp:82: error: ‘ios’ has not been declared </p> <p> Debian GNU/Linux 5.0 2.6.26-2-686 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1" title="#1: Bugs: boost.build causes ftjam to segfault (closed: Wont Fix)">#1</a> SMP gcc version 4.3.2 (Debian 4.3.2-1.1) </p> <p> Thanks in advance </p> <p> R. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4459 Trac 1.4.3 Jeremiah Willcock Wed, 21 Jul 2010 16:07:39 GMT owner, component changed https://svn.boost.org/trac10/ticket/4459#comment:1 https://svn.boost.org/trac10/ticket/4459#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Andrew Sutton</span> to <span class="trac-author">Fernando Cacciola</span> </li> <li><strong>component</strong> <span class="trac-field-old">graph</span> → <span class="trac-field-new">optional</span> </li> </ul> <p> Even if it a missing include in BGL that triggered the problem, Boost.Optional is supposed to have all of the necessary includes for its own functions to work. </p> Ticket anonymous Thu, 22 Jul 2010 13:10:51 GMT <link>https://svn.boost.org/trac10/ticket/4459#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4459#comment:2</guid> <description> <p> The fix seems trivial and related to optional changes: </p> <pre class="wiki">Index: boost/optional/optional_io.hpp =================================================================== --- boost/optional/optional_io.hpp (revision 64257) +++ boost/optional/optional_io.hpp (working copy) @@ -74,12 +74,12 @@ else { if ( d != '-') - in.setstate( ios::failbit ); + in.setstate( std::ios::failbit ); d = in.get(); if ( d != '-') - in.setstate( ios::failbit ); + in.setstate( std::ios::failbit ); v = optional&lt;T&gt;() ; } </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Sun, 25 Jul 2010 22:24:07 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4459#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4459#comment:3</guid> <description> <p> Thanks, patch committed in <a class="changeset" href="https://svn.boost.org/trac10/changeset/64342" title="Fully qualify ios flags. Fixes compilation of PropertyTree, bug 4459.">r64342</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Fernando Cacciola</dc:creator> <pubDate>Mon, 26 Jul 2010 15:43:31 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4459#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4459#comment:4</guid> <description> <p> Thank you for the patch! :) </p> </description> <category>Ticket</category> </item> <item> <author>Vicente Botet <vicente.botet@…></author> <pubDate>Tue, 07 Dec 2010 20:11:34 GMT</pubDate> <title>type changed https://svn.boost.org/trac10/ticket/4459#comment:5 https://svn.boost.org/trac10/ticket/4459#comment:5 <ul> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Patches</span> </li> </ul> Ticket Jeremiah Willcock Tue, 07 Dec 2010 20:12:58 GMT summary changed https://svn.boost.org/trac10/ticket/4459#comment:6 https://svn.boost.org/trac10/ticket/4459#comment:6 <ul> <li><strong>summary</strong> <span class="trac-field-old">[BGL] Trunk build broken as of 20100721</span> → <span class="trac-field-new">[Optional] Trunk build broken as of 20100721</span> </li> </ul> Ticket Andrey Semashev Sun, 12 Dec 2010 12:24:18 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4459#comment:7 https://svn.boost.org/trac10/ticket/4459#comment:7 <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> Fixed in <a class="changeset" href="https://svn.boost.org/trac10/changeset/67183" title="Merged changes from trunk. Fixes #3395. Also updates swap behavior: if ...">[67183]</a>. </p> Ticket