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: | 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)
Change History (6)
by , 14 years ago
| Attachment: | boost_python_translate_exception.patch added |
|---|
comment:1 by , 13 years ago
| Milestone: | Boost 1.38.0 → Boost 1.41.0 |
|---|---|
| Type: | Bugs → Patches |
| Version: | Boost 1.37.0 → Boost 1.39.0 |
Could someone have a look at this? This problem has come up in the Gentoo bug tracker.
comment:2 by , 13 years ago
| Cc: | added |
|---|
comment:4 by , 13 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
| 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 , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
on release branch in r57017
Note:
See TracTickets
for help on using tickets.

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