Subject: [Boost-bugs] [Boost C++ Libraries] #12121: Duplicate conflicting forward declaration of basic_string_ref
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-04-12 07:44:47
#12121: Duplicate conflicting forward declaration of basic_string_ref
------------------------------+---------------------
Reporter: white@⦠| Owner: andysem
Type: Bugs | Status: new
Milestone: To Be Determined | Component: log
Version: Boost 1.61.0 | Severity: Problem
Keywords: |
------------------------------+---------------------
In Boost 1.61 Beta 1, a new error means to much forward declaration of
basic_string_ref.
boost/log/utility/formatting_ostream.hpp:39:76: error: redefinition of
default argument for 'class traits'
template<typename charT, typename traits = std::char_traits<charT> >
class basic_string_ref;
Its also declared in
boost/utility/string_ref_fwd.hpp
and
boost/utility/string_ref.hpp
Removing the fwd declaration in formatting_ostream.hpp:39 and all is
working.
Boost 1.61.0 beta
gcc 5.3.0 (x86_64-win32-seh-rev0, Built by MinGW-W64 project)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12121> 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:20 UTC