Boost C++ Libraries: Ticket #2582: .on trunk] Compilation error while compiling a program using boost_python using gcc 4.3.2 with boost in non-standard location https://svn.boost.org/trac10/ticket/2582 <p> The compiler exits compilation of boost/python/detail/translate_exception.hpp on line 34 with an "expected nested-name-specifier" error. </p> <p> This is due to the fact that type_traits/add_reference.hpp is not included, while add_reference is used in the file. A fix is attached to this report. </p> <p> Note that boost was not installed in /usr/local on this machine, because the user requiring boost does not have root access. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2582 Trac 1.4.3 brentjens@… Wed, 10 Dec 2008 12:43:52 GMT attachment set https://svn.boost.org/trac10/ticket/2582 https://svn.boost.org/trac10/ticket/2582 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_python_translate_exception.patch</span> </li> </ul> <p> Patch adding include of add_reference.hpp to python/detail/translate_exception.hpp </p> Ticket djc@… Tue, 20 Oct 2009 15:00:07 GMT version, type, milestone changed https://svn.boost.org/trac10/ticket/2582#comment:1 https://svn.boost.org/trac10/ticket/2582#comment:1 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.37.0</span> → <span class="trac-field-new">Boost 1.39.0</span> </li> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Patches</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.38.0</span> → <span class="trac-field-new">Boost 1.41.0</span> </li> </ul> <p> Could someone have a look at this? This problem has come up in the Gentoo bug tracker. </p> Ticket djc@… Tue, 20 Oct 2009 15:00:36 GMT cc set https://svn.boost.org/trac10/ticket/2582#comment:2 https://svn.boost.org/trac10/ticket/2582#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">djc@…</span> added </li> </ul> Ticket troy d. straszheim Tue, 20 Oct 2009 15:07:10 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2582#comment:3 https://svn.boost.org/trac10/ticket/2582#comment:3 <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/57016" title="Fix for #2582, thanks for the patch. ">r57016</a> </p> Ticket troy d. straszheim Tue, 20 Oct 2009 15:07:47 GMT status, summary changed; resolution deleted https://svn.boost.org/trac10/ticket/2582#comment:4 https://svn.boost.org/trac10/ticket/2582#comment:4 <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> <li><strong>summary</strong> <span class="trac-field-old">Compilation error while compiling a program using boost_python using gcc 4.3.2 with boost in non-standard location</span> → <span class="trac-field-new">.on trunk] Compilation error while compiling a program using boost_python using gcc 4.3.2 with boost in non-standard location</span> </li> </ul> Ticket troy d. straszheim Tue, 20 Oct 2009 15:19:19 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2582#comment:5 https://svn.boost.org/trac10/ticket/2582#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> on release branch in <a class="changeset" href="https://svn.boost.org/trac10/changeset/57017" title="merge from trunk very minor fixes for ticket #2582">r57017</a> </p> Ticket