[Boost-bugs] [Boost C++ Libraries] #5261: property_tree/details/json_parser_read.hpp generates ambiguous symbol error on MSVC

Subject: [Boost-bugs] [Boost C++ Libraries] #5261: property_tree/details/json_parser_read.hpp generates ambiguous symbol error on MSVC
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-03 22:25:18


#5261: property_tree/details/json_parser_read.hpp generates ambiguous symbol error
on MSVC
----------------------------------+-----------------------------------------
 Reporter: aubrey@… | Owner: cornedbee
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: property_tree
  Version: Boost 1.46.0 | Severity: Problem
 Keywords: |
----------------------------------+-----------------------------------------
 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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5261>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC