#5280 closed Bugs (fixed)
compilation error by including order
| Reported by: | Owned by: | Hartmut Kaiser | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | wave |
| Version: | Boost Development Trunk | Severity: | Problem |
| Keywords: | Cc: |
Description
In VC8~VC10, a compilation error will be occurred when you include headers in the following order:
#include <boost/utility/value_init.hpp> #include <boost/wave/util/cpp_include_paths.hpp>
error C2872: 'detail' : ambiguous symbol.
Because, In cpp_include_paths.hpp, the VC++ compiler doesn't lookup boost::multi_index::get function.
So, I think it is necessary to write using declarations explicitly.
Attachments (1)
Change History (3)
by , 12 years ago
| Attachment: | cpp_include_paths.patch added |
|---|
comment:1 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

(In [69685]) Fixed #5280: compilation error by including order