Opened 12 years ago
Closed 11 years ago
#5261 closed Bugs (fixed)
property_tree/details/json_parser_read.hpp generates ambiguous symbol error on MSVC
Reported by: | Owned by: | Sebastian Redl | |
---|---|---|---|
Milestone: | To Be Determined | Component: | property_tree |
Version: | Boost 1.46.0 | Severity: | Problem |
Keywords: | Cc: |
Description
On line 181 of the referenced file (json_parser_read.hpp), the author writes: "using namespace boost::spirit::classic;". This then generates ambiguous symbol references with "boost::assertion" during the following 'assertion' declarations.
Adding an explicit namespace resolution to each 'assertion' declaration resolves the defect.
Note:
See TracTickets
for help on using tickets.
This is already fixed on trunk. But thanks for the report; now that I know it appears on the release branch already I'll see if I can merge the fix into 1.46.1 if there is one.