Opened 14 years ago

Closed 13 years ago

#2582 closed Patches (fixed)

.on trunk] Compilation error while compiling a program using boost_python using gcc 4.3.2 with boost in non-standard location

Reported by: brentjens@… Owned by: Dave Abrahams
Milestone: Boost 1.41.0 Component: python USE GITHUB
Version: Boost 1.39.0 Severity: Problem
Keywords: Cc: djc@…

Description

The compiler exits compilation of boost/python/detail/translate_exception.hpp on line 34 with an "expected nested-name-specifier" error.

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.

Note that boost was not installed in /usr/local on this machine, because the user requiring boost does not have root access.

Attachments (1)

boost_python_translate_exception.patch (440 bytes ) - added by brentjens@… 14 years ago.
Patch adding include of add_reference.hpp to python/detail/translate_exception.hpp

Download all attachments as: .zip

Change History (6)

by brentjens@…, 14 years ago

Patch adding include of add_reference.hpp to python/detail/translate_exception.hpp

comment:1 by djc@…, 13 years ago

Milestone: Boost 1.38.0Boost 1.41.0
Type: BugsPatches
Version: Boost 1.37.0Boost 1.39.0

Could someone have a look at this? This problem has come up in the Gentoo bug tracker.

comment:2 by djc@…, 13 years ago

Cc: djc@… added

comment:3 by troy d. straszheim, 13 years ago

Resolution: fixed
Status: newclosed

fixed in r57016

comment:4 by troy d. straszheim, 13 years ago

Resolution: fixed
Status: closedreopened
Summary: Compilation error while compiling a program using boost_python using gcc 4.3.2 with boost in non-standard location.on trunk] Compilation error while compiling a program using boost_python using gcc 4.3.2 with boost in non-standard location

comment:5 by troy d. straszheim, 13 years ago

Resolution: fixed
Status: reopenedclosed

on release branch in r57017

Note: See TracTickets for help on using tickets.