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: aubrey@… 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.

Change History (2)

comment:1 by Sebastian Redl, 12 years ago

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.

comment:2 by Sebastian Redl, 11 years ago

Resolution: fixed
Status: newclosed

Fixed in r71991.

Note: See TracTickets for help on using tickets.